Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: checking bareword-filehandle

by morgon (Curate)
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?

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?
[ambrus]: again? someone complained about this just a few days ago (although eventually they could post)
[choroba]: Can you post the question in mz2255's scratchpad?
[ambrus]: Corion, if you're here, can you check the spam filter logs to see what's triggering this time?
[ambrus]: Petroza had trouble posting yesterday, but has posted Issues Fetching URL with a variable token since.
[mz2255]: Yes, just edited the scratchpad. Not sure if I'm doing something wrong, it's my first time.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2017-10-19 15:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (255 votes). Check out past polls.

    Notices?