Keep It Simple, Stupid | |
PerlMonks |
Re^2: Common sub as method or functionby clinton (Priest) |
on Aug 15, 2007 at 16:28 UTC ( [id://632788]=note: print w/replies, xml ) | Need Help?? |
It avoids exporting... It is still essentially exporting/importing, just without using Exporter. I completely agree with akho's recommendation to use Module::Base::Util, except that if we're only talking about two subs, it seems like overkill. (No doubt those two will become three, four, ten etc, so it is still probably the better way). My lazy tendency, however, would be, at this stage, to do as you have recommended. Clint
In Section
Seekers of Perl Wisdom
|
|