|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: how do you install a perl app::someapp module in bashby nagalenoj (Friar) |
| on Feb 07, 2013 at 07:51 UTC ( #1017581=note: print w/ replies, xml ) | Need Help?? |
|
Hi, I hope your first question is about installing your script in linux machine, so you could launch the script from any directory. For this, either you can change the $PATH bash variable in ~/.bashrc file, append it with the directory which your script exists or create a link to your script under any directory which already exists in $PATH.
For your second question to make the script executable, yes, you have to give it executable permission and don't forget to add the shabang inside the script.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||