Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Hash of output file handles

by gaal (Parson)
on Jul 29, 2004 at 20:48 UTC ( [id://378511]=note: print w/replies, xml ) Need Help??


in reply to Hash of output file handles

perldoc -f print says this:
    Note that if you’re storing FILEHANDLES in an array or other expression, you will have to use a block returning its value instead:
    print { $files[$i] } "stuff\n"; print { $OK ? STDOUT : STDERR } "stuff\n";

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2024-04-19 12:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found