P is for Practical | |
PerlMonks |
Re: compile or run-time inheritanceby ioannis (Abbot) |
on Jun 17, 2006 at 15:10 UTC ( [id://555977]=note: print w/replies, xml ) | Need Help?? |
You cannot have binding of methods before INIT
because the type of invocant is determined
at runtime. For example, when we bless a
reference with bless {}, $string, this executes
at runtime to assign the class type, which tells us
which @ISA to examine.
In Section
Seekers of Perl Wisdom
|
|