By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,903 Members | 1,081 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,903 IT Pros & Developers. It's quick & easy.

Calling User defined package from other system

P: 40
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;
  2.  
  3. ...
  4.  
If myPackage.pm is exists in some other system.

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

Looking for Ur help,
Thanks
Sabarish
Jul 11 '08 #1
Share this Question
Share on Google+
2 Replies


KevinADC
Expert 2.5K+
P: 4,059
I don't think that is possible, but ask on www.perlmonks.com to make sure.
Jul 11 '08 #2

P: 40
Hi.,

I found another way to do that by specifying

Expand|Select|Wrap|Line Numbers
  1. use lib 'path/servername where modules installed';
  2.  
  3.  
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.