[sf-perl] use {strict,warnings}

Joe Brenner doom at kzsu.stanford.edu
Mon Mar 3 00:44:13 PST 2008

Kevin Frost <biztos at mac.com> wrote:

> Least:
> Use of uninitialized variables.

Yeah, that's a problematic one, isn't it?  Perl will happily do type
conversions for you, but (if used in the recommended way, with strict
and warnings) it nags incessantly about undefs, rather than just
treating them as empty strings.

Though it could be, of course, that the constant need to dance around
this to silence suprious "unit" warnings is cleaning up my code in ways
I don't appreciate.

More information about the SanFrancisco-pm mailing list