|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: Use of uninitialized value in pattern match (m//)by AnomalousMonk (Prior) |
| on May 23, 2012 at 22:37 UTC ( #972119=note: print w/ replies, xml ) | Need Help?? |
|
The regex /^\s*$/ matches by default against the $_ scalar, which is nowhere initialized in the code you show.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||