in reply to Re: Common sub as method or function
in thread Common sub as method or function
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Common sub as method or function
by dogz007 (Scribe) on Aug 15, 2007 at 16:35 UTC | |
by akho (Hermit) on Aug 15, 2007 at 16:50 UTC | |
by akho (Hermit) on Aug 15, 2007 at 17:06 UTC |