Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Perl
Perl Misc
Call Perl Scripts from Other Dir in Linux, Path Messed Up
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Josef Möllers, post: 4746392"] Public Interest wrote: First of all, try to get a decent name. I sincerely doubt your parents called you "Public" ("Hey Pubby, it's dinnertime!") That won't work. Perl scripts belong in files not in unix shells. What files is abc.pl looking for and where are they? Although my crystal ball is broken, somke shards still seem to work ... I assume that your files reside in /abs-path and your current working directory is not /abs-path. Then you might want to consult the manual page of FindBin. However, the use of this module is not a real solution. You might want to consider other options like putting the path name(s) of the other file(s) into an environment variable. Try sh -x RUN.sh and it will tell you more. Consulting another shard of my broken crystal ball, maybe the path of perl is not in your PATH? Josef [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Perl
Perl Misc
Call Perl Scripts from Other Dir in Linux, Path Messed Up
Top