the $self returned by my $self = $class->SUPER::new(); will be blessed into the Person package,
No it won't unless there's a bug in the parent class. $class contains "Employee", not "Person". The reblessing is unneeded.
In reply to Re^2: To bless or not to bless
by ikegami
in thread To bless or not to bless
by LesleyB
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |