Stories
Slash Boxes
Comments
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 ]

ajt (2546)

ajt
  (email not shown publicly)
http://www.iredale.net/

UK based. Perl, XML/HTTP, SAP, Debian hacker.

  • CPAN: ATRICKETT [cpan.org]
  • PerlMonks: ajt [perlmonks.org]
  • Local LUG: AdamTrickett [lug.org.uk]
  • Debian Administration: ajt [debian-adm...ration.org]
  • LinkedIn: drajt [linkedin.com]

Journal of ajt (2546)

Monday May 26, 2003
08:54 AM

Old code

[ #12442 ]

As part of my ongoing spring clean, and feeble attempt to avoid mowing the lawn, I've cleaned up an old script I knocked up to print out pretty error messages for Apache. I've not touched the code in about two years, and while it works mostly, it's a mess of globals, some bits that never actually worked and some quite horrible things. I refactored it, to use no globals, pass data structures about as references, and simplified a lot of the logic. The new version works properly, is simpler and smaller, and works under Apache::Registry without a problem.

What is quite amazing is that two years ago, I thought I knew how to use Perl - I even wrote it very large at the top of my CV! I now realise that while I know more than I did then, I still don't actually know that much now, and I really knew very little then.

Now all I have to do is come up with another excuse to avoid mowing the lawn....

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