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 reply to Re^3: Why won't a hash in a hash work as a hash reference to create an object?
by chromatic
in thread Why won't a hash in a hash work as a hash reference to create an object?
by Lady_Aleena
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |