Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by pc88mxer (Vicar)
on Jul 25, 2008 at 19:57 UTC ( [id://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 $_;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-19 22:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found