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.


Comment on Re^3: checking bareword-filehandle
Download Code

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 romping around the Monastery: (10)
As of 2014-08-28 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (259 votes), past polls