--On Freitag, 24. August 2001 10:49 -0700 Curtis Poe <[EMAIL PROTECTED]> wrote:
> Once again, we have an excellent example of why most Perl programs should
> start with "use strict;". In this particular case, the programmer would
> have declared "$db_filname" and strict would have thrown an error when
> encountering the undeclared variable "$db_file_name". However, from
> looking at how descriptive the other variable names are (they're spelled
> correctly and tend not to be abbreviations, which is a Good Thing), I
> suspect that $db_filname is actually the misspelling. Is it $db_filname,
> $db_filename or $db_file_name? When I'm searching through a large
> section of code, I'm not likely to notice those subtle differences.
There is no misspelling; the mistake happened when I copied the code to my
e-mail and edited the mail. Guess use strict won't prevent that from
happening :-)
Birgit Kellner
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]