Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by kennethk (Abbot)
on Dec 29, 2009 at 21:49 UTC ( #814831=note: print w/replies, xml ) Need Help??


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

Would you want perl to load the entire Core module set before running a one-liner?
  • Comment on Re^6: Regarding STDOUT and indirect object notation for print

Replies are listed 'Best First'.
Re^7: Regarding STDOUT and indirect object notation for print
by ikegami (Pope) on Dec 29, 2009 at 22:02 UTC

    Well that's a major exaggeration. The cost of loading IO::Handle would be quite small if it was rewritten in C. (100 bytes?) In fact, there already exists modules whose methods are built right into Perl: utf8, version and UNIVERSAL, for example.

      It is an exaggeration, but there was clearly a design decision to keep perl lean and mean. Just trying to make a point succinctly, and histrionics seemed an easy way to do it.

      It does seems odd to me that they'd include the implicit blessing without populating the namespace. I suppose it's a nod to the roll-your-own option.

Re^7: Regarding STDOUT and indirect object notation for print
by romandas (Pilgrim) on Dec 30, 2009 at 02:06 UTC
    Not the entire Core, but I'm surprised that the module for an available object wouldn't be loaded to assist handling that object.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://814831]
help
Chatterbox?
and John Coltrane plays...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2018-07-18 18:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (393 votes). Check out past polls.

    Notices?