"be consistent" | |
PerlMonks |
Re: filehandle in warning not what I expected...by ysth (Canon) |
on Dec 28, 2010 at 10:40 UTC ( [id://879413]=note: print w/replies, xml ) | Need Help?? |
Perl is just reporting the last file you read from. If you prefer to see the $remedy_file line number in the warning, you can localize perl's recollection of the last file read by putting:
just before LOOKUP:. This is a special feature of the $. variable.
In Section
Seekers of Perl Wisdom
|
|