Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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


Comment on Re: filehandle in warning not what I expected...
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://879413]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2015-07-03 07:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (49 votes), past polls