Think about Loose Coupling | |
PerlMonks |
Re: Conditional inheritance strategyby ikegami (Patriarch) |
on Oct 27, 2010 at 16:36 UTC ( [id://867779]=note: print w/replies, xml ) | Need Help?? |
Don't have My inherit from My::XML and My::JSON, have My::XML and My::JSON inherit from My. I'm guessing you want to do this since you get a file name and you want to load the file using the right module.
In Section
Seekers of Perl Wisdom
|
|