instead ofmy $self = $class->Parent::new(...);
my $self = $class->SUPER::new(...);
And you might even have to in some weird situations (although use mro 'c3'; would probably be a better fix).
But using Parent is redundant. You already specified it's the parent class. To use it here is to needlessly hardcode a value. Nothing good can come of that.
In reply to Re^3: Inheritance - calling parent constructor
by ikegami
in thread Inheritance - calling parent constructor
by bob_dobalina
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |