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

Re: A question of module scope

by Steve_p (Priest)
on Apr 25, 2004 at 14:19 UTC ( [id://347968]=note: print w/replies, xml ) Need Help??


in reply to A question of module scope

I'm a bit confused. When you use the term "shared library", are you talking about a compiled library on your system, such as a ".a" or ".dll" file? Perl modules are modules, no matter if they are "shared" or not.

Also, since you provided no source with your question, my answer is, "It depends." If the two modules are Exporters and the functions you want to call are all exported through to your program, then, yes, you would only need to use your funlittlemodule. Otherwise, you may need both modules. Unfortunately, I have so little to go on, I can't say for sure.

In the meantime, post some code and read perldoc perlmod.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-25 12:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found