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 ]

gnat (29)

  (email not shown publicly)

Journal of gnat (29)

Sunday March 10, 2002
03:51 AM

Mistakes I have made

[ #3403 ]
... while writing these LWP programs.

1) didn't erase data file on startup, so bogus data from when I was debugging regexes caused later stages to croak

2) Omitted /s from regex that needed .*? to match across newline boundaries

3) had ($var) =~ $string =~ /RE/. That first =~ should have just been =

4) Forgot to remove directory portion of file name used in open() before using as relative URL in emitted HTML

5) Omitted leading 0 on chmod parameter


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.