1) you can run 'chmod' without being root, as long as you own the file
2) if '.' isn't in your path, you'll have to type ./phonetic.pl
3) the "command not found" error may indicate that the "shebang" (#!/usr/bin/perl) line is wrong - it's good to remember that in the future because it's a somewhat confusing error message, though technically accurate.
-Ken
On Wednesday, August 27, 2003, at 06: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
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/
