Lou,
try .\phonetic.pl and also make sure the first line contains
#!/usr/bin/perl (or variants which enable strict etc). If the first thing
works, all you need to do is add .\ into your paths within the .bashrc file.
Dave Gomez
On 8/27/03 4:56 PM, "Charlie Root" <[EMAIL PROTECTED]> 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
>
> mrsparkle ellem ~/code $
>
>
> What am I doing wrong? I'd like perl scripts to work without my typing
> perl first.
> --
> Lou Moran
> [EMAIL PROTECTED]
> http://ellem.is-a-geek.org:5280/
> http://homepage.mac.com/ellem52/
>
>