Open Terminal, and type the following at the commahd line:
echo $PATH
Letter case counts. :) Terminal will return a colon-separated string that contains your path information. You could put your scripts into any of the directories listed, however, I would recommend that you create a 'bin' directory in your Home directory and put your scripts there. Then, to execute your scripts, you'd type the following on the command line:
perl $HOME/bin/scriptname.pl
or
perl /Users/yourusername/bin/scriptname.pl
You can add directories to your PATH variable, but I'll leave that exciting task to you. (Hint: On the command line, type man bash.) :)
HTH,
/Larry |