LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 02-21-2004, 07:51 AM   #1
dvong3
Member
 
Registered: Sep 2002
Posts: 168

Rep: Reputation: 30
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
 
Old 02-21-2004, 08:18 AM   #2
codeape
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 62

Rep: Reputation: 15
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
 
Old 02-21-2004, 08:42 AM   #3
dvong3
Member
 
Registered: Sep 2002
Posts: 168

Original Poster
Rep: Reputation: 30
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
 
Old 02-21-2004, 10:03 AM   #4
codeape
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 62

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

HTH
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Which parameter to use...? FrogGuy Linux - Hardware 2 11-19-2005 08:25 PM
how to look-over the parameter of module jiawj Slackware 3 05-10-2005 11:47 AM
Passing hash of hashes as a parameter (Perl) rose_bud4201 Programming 8 04-21-2005 07:18 PM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 08:09 PM
how this parameter works? elliore Linux - Newbie 2 07-01-2003 02:14 AM


All times are GMT -5. The time now is 05:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration