http://www.perlmonks.org?node_id=821634


in reply to Re: Subroutines with the same name, in different packages
in thread Subroutines with the same name, in different packages

Try not exporting those 2 subs ... don't export methods.

... and if you cannot redefine what the module exports by default, suppress importation when you use the module.
    use UCP::NLMWriter ();
    use UCP::ManifestWriter ();

Replies are listed 'Best First'.
Re^3: Subroutines with the same name, in different packages
by mboudreau (Acolyte) on Feb 05, 2010 at 19:37 UTC
    Thanks, all!