Mornin' -- Derek Said: >>> The contents of this file are:
#!/usr/bin/perl use Cwd qw(abs_path); >>> If the first line is indeed a blank line, then the default interpreter is invoked. The '#!' has to the the first two characters on the first line of your code. B On Sat, May 28, 2011 at 12:10 PM, Uri Guttman <u...@stemsystems.com> wrote: > >>>>> "D" == Derek <derek...@gmail.com> writes: > > D> Hello, I am getting the following error: > D> bash: /var/www/html/bugzilla/email_in.pl: line 2: syntax error near > D> unexpected token `(' > > big clue. what is the first word of that line? it is bash! perl is not > seeing your script for some reason. so this is not a perl issue but a > bash one. find out why bash is running your file instead of perl. > > uri > > -- > Uri Guttman ------ u...@stemsystems.com -------- http://www.sysarch.com-- > ----- Perl Code Review , Architecture, Development, Training, Support > ------ > --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com--------- > > -- > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > For additional commands, e-mail: beginners-h...@perl.org > http://learn.perl.org/ > > > -- Bob Goolsby bob.gool...@gmail.com