in reply to Inheritance: parent class determine which child class to use?
Perhaps at least tangentially of interest: Perils of Plugins.
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
|
---|
In Section
Seekers of Perl Wisdom