No such thing as a small change | |
PerlMonks |
Re: perl callable from bash?by Bloodnok (Vicar) |
on Apr 13, 2009 at 10:21 UTC ( [id://757190]=note: print w/replies, xml ) | Need Help?? |
Apart from the advice already proffered elsewhere on this thread, I'm intrigued as to how you can ...mv to /bin and then expect the script to run by entering ./bl filename without first cd(1)'ing to /bin aka having just moved the script from your current working directory, you expect to still be able to invoke the script in there &91;your current working directory&93;
Moreover, the 2 scripts, called by the shell script, are no longer in the same directory as the shell script - hence it should come as no surprise that the shell script can no longer find them, so assuming all 3 scripts were previously in your home directory, I would modify the shell script (now /bin/bl) to read...
A user level that continues to overstate my experience :-))
In Section
Seekers of Perl Wisdom
|
|