Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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 $_;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://700214]
help
Chatterbox?
[1nickt]: What do you all think of experimental = refaliasing ? Anyone using it?
[1nickt]: \my %foo = { bar => 1 }; say $foo{bar};

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2017-11-17 20:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (272 votes). Check out past polls.

    Notices?