On Wednesday, August 27, 2003, at 04:56 PM, Charlie Root wrote:
mrsparkle ellem ~/code $ phonetic.pl bash: phonetic.pl: command not found mrsparkle ellem ~/code $ sudo chmod +x phonetic.pl Password: mrsparkle ellem ~/code $ phonetic.pl bash: phonetic.pl: command not found mrsparkle ellem ~/code $ perl phonetic.pl Enter some letters and numbers: ASF19 alpha sierra foxtrot one niner
What am I doing wrong? I'd like perl scripts to work without my typing perl first.
phonetic.pl is not in your path. If you try: ./phonetic.pl it should run.
If you are running the default shell, tcsh, you can add the following line to ~/.cshrc:
setenv PATH ${PATH}:.
That way the current directory (.) is always in your path.
------------ smalltime industries www.smalltime.com Now in 2D!
