Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Subroutines with the same name, in different packages

by AnomalousMonk (Canon)
on Feb 05, 2010 at 19:05 UTC ( #821634=note: print w/ replies, xml ) Need Help??


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 ();

Comment on Re^2: Subroutines with the same name, in different packages
Select or Download Code
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!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://821634]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2016-04-30 06:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.