S
Seebs
Is there any way to find out WHICH variable is uninitialized, short of
breaking a line up into bunches of single lines?
I inherited a HUGE script full of lines that look roughly like
$value = "$value1$value2$value3<a href="$value4"
fgcolor="$value5">$value6</a><font size="$value7">..."
which are trying to build HTML from *HORDES* of values.
I probably have, say, five hundred of these little buggers to catch.
I would be *deleriously* happy to discover a warning switch that would
cause perl to say "Use of uninitialized value (variable $value3)" or
something similar.
Perl is 5.6.1; I could probably use 5.8 without much trouble, but I don't
want to switch right now if I don't have to.
-s
breaking a line up into bunches of single lines?
I inherited a HUGE script full of lines that look roughly like
$value = "$value1$value2$value3<a href="$value4"
fgcolor="$value5">$value6</a><font size="$value7">..."
which are trying to build HTML from *HORDES* of values.
I probably have, say, five hundred of these little buggers to catch.
I would be *deleriously* happy to discover a warning switch that would
cause perl to say "Use of uninitialized value (variable $value3)" or
something similar.
Perl is 5.6.1; I could probably use 5.8 without much trouble, but I don't
want to switch right now if I don't have to.
-s