Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by AnomalousMonk (Chancellor)
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 ();

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?
[Corion]: LanX: Broken links in what sense?
[Discipulus]: neurocent goes always up with the same curve of population raise
[marto]: believe in derp coin
[Corion]: Oh - I see ...
[LanX]: like http://cb60. datenzoo.de/:// perlmonks.org/ index.pl?node_id= 1215217
[Discipulus]: username links i bet
[Corion]: (also, let me recommend https://mini-cb60. datenzoo.de/ over that, as it has https :)
[LanX]: all links
[Corion]: I guess I should make the certificate valid for both hostnames
[LanX]: and broken links ;p

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2018-05-25 15:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?