In cases where I need to re-bless a hashref from a parent class constructor, {snip}
Just curious, why would you ever need to re-bless a hashref? I've always figured you bless once, using the 2-arg form, in your base class. Inherited classes use $class->SUPER::new(...) to reach back and have the parent do it.
In reply to Re^2: classic OO Perl: naming instance variables
by j3
in thread classic OO Perl: naming instance variables
by j3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |