LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   Perl parameter (http://www.linuxquestions.org/questions/programming-9/perl-parameter-148707/)

dvong3 02-21-2004 08:51 AM

Perl parameter
 
I have 2 directories that I want to execute when I execute perl.

These two files are not installed in location where perl can find them on its own. How do I set the 2 parameters to supply the approariate directories.

/usr/local/cat/bin & /usr/local/cat/lib

codeape 02-21-2004 09:18 AM

Do you mean you want to put these directories in $PATH before you execute the perl script?

PATH=$PATH:/usr/local/cat/bin:/usr/local/cat/lib

dvong3 02-21-2004 09:42 AM

I already have /usr/local/ in the path but my perl can not excute /usr/local/cat/bin & /usr/local/cat/lib. Is there a way to do something like PathAdd: /usr/local/cat/bin or LibAdd: /usr/local/cat/lib/perl

codeape 02-21-2004 11:03 AM

http://www.perldoc.com/perl5.8.0/pod...th-at-runtime-

HTH


All times are GMT -5. The time now is 12:27 AM.