That's right; that's how you get the invocant in Perl.
(As a side note, beware of the indirect constructor call; my $object = Some::Class->new() is much more reliable than my $object = new Some::Class(). The latter is very sensitive to order of declaration during parsing; best to avoid it where possible.)
In reply to Re^3: Inheritance and calling a subclass method *from* a baseclass method...
by chromatic
in thread Inheritance and calling a subclass method *from* a baseclass method...
by EvanK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |