Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

hide (4398)

  (email not shown publicly)

hide has been programming in Perl since 1998. Much of this time has been focused on system automation and data warehousing.


Journal of hide (4398)

Saturday June 12, 2004
08:25 AM

What was I thinking?

[ #19217 ]
I've started writing modules for my project at work. We're in the midst of replacing all our PHP with Perl and moving toward a MVC based design.

My co-workers have asked for an example of how to use the modules I've written. As such I'm going to rewrite one of my existing scripts using the new modules. Digging through the program I was trying to figure out what I was thinking when I was writing this one.

I had split a delimited line of text into a list (not so bad yet), then I'd used the list one element at a time to do various things. This is where the problem lies. I can not remember what each element of the list represents without looking at the input file. So much for easily maintainable code. Needless to say, this script is going to be rewritten.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.