laziness, impatience, and hubris | |
PerlMonks |
Re: Re: Use of uninitialized value in pattern match (m//)by liz (Monsignor) |
on Feb 10, 2004 at 09:49 UTC ( [id://327864]=note: print w/replies, xml ) | Need Help?? |
my $tmp2 = $2;
This does not make $tmp2 defined if $2 is undefined. Don't you mean something like:
Or, if you have the defined-or patch installed, something like:
Liz
In Section
Seekers of Perl Wisdom
|
|