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.)
In reply to Re^6: Anonymous Hash in Constructor
by Jim
in thread Anonymous Hash in Constructor
by puneet.keswani
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |