Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: checking bareword-filehandle

by morgon (Deacon)
on Aug 06, 2012 at 13:24 UTC ( #985706=note: print w/ replies, xml ) Need Help??


in reply to Re: checking bareword-filehandle
in thread checking bareword-filehandle

Evidently, but at the moment the open is in a different lexial scope as the print so I would need to declare a lexical $FH in the common enclosing scope - I'll do that eventually.

But apart from your suggestions for suppressing the warning outright - is there really no easy way for checking such a handle?

Comment on Re^2: checking bareword-filehandle
Replies are listed 'Best First'.
Re^3: checking bareword-filehandle
by moritz (Cardinal) on Aug 06, 2012 at 13:30 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2016-04-28 22:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (436 votes). Check out past polls.