Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: checking bareword-filehandle

by moritz (Cardinal)
on Aug 06, 2012 at 13:30 UTC ( #985708=note: print w/replies, xml ) Need Help??


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

After skimming perlmod and perlref I've dug up

print FH $foo if *{$foo}{IO};

which is somewhat ugly, but seems to work.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2016-09-25 17:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (470 votes). Check out past polls.