![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Installing Perl Module | surjithss | Shell Programming and Scripting | 2 | 03-26-2008 09:51 AM |
| Perl module question | hankooknara | Shell Programming and Scripting | 3 | 07-08-2007 04:26 AM |
| perl module question | convenientstore | Shell Programming and Scripting | 1 | 05-22-2007 04:25 PM |
| Replace Perl Module name in all Perl scripts | rahulrathod | Shell Programming and Scripting | 2 | 12-01-2005 09:00 PM |
| perl module DBD-Oracle | hassan1 | UNIX for Advanced & Expert Users | 1 | 07-11-2005 05:22 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Perl module Convert::IBM390
Hi,
Need urgent help. I want to use this module Convert::IBM390 but we dont have admin rights on our Unix box so can't login as root. Is there any other way where we can use this module or can it be converted to a program. Please help. |
| Forum Sponsor | ||
|
|
|
|||
|
You can use the "lib" pragma to use modules in your perl script. I just expalined how to do this on another forum, let me copy and paste that reply here....
If it is not a module with lots of dependencies (although you can still do it this way if it is) you use the "lib" pragma to include your own module directories into perls @INC array. Say you have a module named Foo::Bar. Foo is the directory the module is stored in and the module is named Bar.pm. You can create a Foo directory in any folder on your website, but best to use one that is not www accessible. People often name it mymodules or cpanmodules. In that folder you duplicate the modules structure, so you create a folder named Foo in mymodules folder and place Bar.pm in the Foo folder. Then in your perl script: use lib qw(path/to/mymodules); use Foo::Bar; |
|||
| Google The UNIX and Linux Forums |