Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: filehandle in warning not what I expected...

by ysth (Canon)
on Dec 28, 2010 at 10:40 UTC ( #879413=note: print w/replies, xml ) Need Help??


in reply to filehandle in warning not what I expected...

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:
local $.;
just before LOOKUP:. This is a special feature of the $. variable.
--
A math joke: r = | |csc(θ)|+|sec(θ)|-||csc(θ)|-|sec(θ)|| |
Online Fortune Cookie Search

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://879413]
help
Chatterbox?
[thezip]: That's awesome. I bet you feel totally rejuvenated and ready for the next thing.
[stevieb]: A couple of years ago I went to Curacao on a business trip which is a few parallels south of Canary Islands, but one thing I liked was it was 90 degrees at all times consistently. Much different experience than living in Canada :)

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2017-02-23 17:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (349 votes). Check out past polls.