Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: what does IO::File=GLOB mean?

by pc88mxer (Vicar)
on Jul 25, 2008 at 19:57 UTC ( #700214=note: print w/ replies, xml ) Need Help??

in reply to what does IO::File=GLOB mean?

You are printing the file handle reference. It is coming from this line:

print $fh;
In order to have perl treat $fh as a file handle, you need to use one of the following:
print {$fh} $_; print $fh $_;

Comment on Re: what does IO::File=GLOB mean?
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2015-11-26 12:05 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (697 votes), past polls