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

Re^7: Regarding STDOUT and indirect object notation for print

by ikegami (Patriarch)
on Dec 30, 2009 at 00:49 UTC ( [id://814852]=note: print w/replies, xml ) Need Help??


in reply to Re^6: Regarding STDOUT and indirect object notation for print
in thread Regarding STDOUT and indirect object notation for print

Different kind of glob. Short for type glob, it's the name of the structure used for symbol table entries. Since each symbol name can be used to refer to a scalar, an array, a hash, a function, etc, a typeglob is a structure with a slot for scalar, a slot for an array, ... and a slot for an IO object. You are passing the glob, and the function grabs the associated IO object (or creates it in the case of open).

If, for a glob, Perl will check the IO::Handle namespace, then loading the IO::Handle module will populate that namespace with what Perl needs to find (in this case, the print method), yes?

Couldn't have said it better.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2024-04-24 14:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found