Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Using a module twice giving a problem

by happy.barney (Friar)
on Aug 14, 2011 at 16:36 UTC ( [id://920240]=note: print w/replies, xml ) Need Help??


in reply to Using a module twice giving a problem

you didn't show how you "use" module. It looks to me that you have something like:
use MyModule ();
In this case, all exports are disabled.

Replies are listed 'Best First'.
Re^2: Using a module twice giving a problem
by Anonymous Monk on Aug 14, 2011 at 17:01 UTC
    I just do the following:
    use MyModule;
    The system does find the functions when I comment out one of the 'use', so the functions must be getting exported?
      Please see How do I post a question effectively? and provide us with code that reproduces your problem -- this is basic perl feature, available for over 14 years, its not likely the problem is with perl.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2025-07-18 04:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.