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

Re^6: Anonymous Hash in Constructor

by Jim (Curate)
on Oct 19, 2012 at 23:42 UTC ( #1000070=note: print w/ replies, xml ) Need Help??

in reply to Re^5: Anonymous Hash in Constructor
in thread Anonymous Hash in Constructor

Then will this blow yours?

sub new { print {+shift} "This is a method happening.\n" } bless \*STDOUT; (\*STDOUT)->new;

Probably not.

(I'd have to have this explained to me to understand it.)

Comment on Re^6: Anonymous Hash in Constructor
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2015-11-28 05:32 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 (738 votes), past polls