467,179 Members | 1,263 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,179 developers. It's quick & easy.

Calling User defined package from other system

Hi All,

Is there any way to call user defined perl package from other system.

For Example.

In my perl script, I am defining a package/modules using
Expand|Select|Wrap|Line Numbers
  1. use myPackage;
  3. ...
If myPackage.pm is exists in some other system.

how can I call that package without copying to my system.

Looking for Ur help,
Jul 11 '08 #1
  • viewed: 1414
2 Replies
Expert 2GB
I don't think that is possible, but ask on www.perlmonks.com to make sure.
Jul 11 '08 #2

I found another way to do that by specifying

Expand|Select|Wrap|Line Numbers
  1. use lib 'path/servername where modules installed';
Also one more thing, Is there any way to define the path where PPM modules to be installed instead of default path "c:/perl/site/lib"
Jul 15 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Marc Shapiro | last post: by
1 post views Thread by Robert Scheer | last post: by
19 posts views Thread by Deniz Bahar | last post: by
5 posts views Thread by Simon Harris | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.