Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: Why won't a hash in a hash work as a hash reference to create an object?by chromatic (Archbishop) |
on Apr 07, 2012 at 21:36 UTC ( [id://963947]=note: print w/replies, xml ) | Need Help?? |
It's the name of the class. If you call new as a method: my $obj = Class->new;... then it'll be the invocant. (Don't not call new as a method. You set yourself up for all kinds of mess that way.) Improve your skills with Modern Perl: the free book.
In Section
Seekers of Perl Wisdom
|
|