![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: Bug in 'strict'??by modred (Pilgrim) |
on Apr 05, 2001 at 16:54 UTC ( #70072=note: print w/replies, xml ) | Need Help?? |
I don't know if it is a bug in strict or not but you need to check
to make sure that the match works before assigning $2 to anything. If
the match fails then $localfilename will be empty and the
open will fail.
Something like
In Section
Seekers of Perl Wisdom
|
|