|
|
| P is for Practical | |
| PerlMonks |
Re: Weird hash access problemby jfroebe (Vicar) |
| on May 26, 2011 at 18:32 UTC ( #906875=note: print w/ replies, xml ) | Need Help?? |
|
The scope of "$1" with respect to the regular expression is within the if block IIRC. Who knows what "$1" is outside of if block. Btw, you forgot "use warnings;" after "use strict;"
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||