in reply to Weird hash access problem
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;"
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Weird hash access problem
by ikegami (Patriarch) on May 26, 2011 at 18:33 UTC | |
by jfroebe (Parson) on May 26, 2011 at 19:07 UTC |
In Section
Seekers of Perl Wisdom