XP is just a number | |
PerlMonks |
Re^5: Altering Package Subs and Running In To Problemsby Aighearach (Initiate) |
on Nov 11, 2004 at 11:25 UTC ( [id://406989]=note: print w/replies, xml ) | Need Help?? |
By "stepping on toes" I only meant it in the technical sense, of overwriting another persons code (instead of subclassing).
Alternatives to Exporter would be nice to see. You should take a look at perldoc base. Be very, very sure you can't use this existing tool. Well, already I can take component1 and make it a subclass called compoment2, and make a subclass called component3, and each one only needs to overload the stuff it seeks to replace. And only the interface needs to be published, even with proprietary code that is done with plugin interfaces. Why would you need the source, just to implement inheritance? -- Snazzy tagline here
In Section
Seekers of Perl Wisdom
|
|