in reply to
Re: Re: Syntax Error
in thread
Syntax Error
Placing a she-bang line is only half the trick - the kernel must also sniff at it. How are you calling your program, and what are its execution bits?
Abigail
Comment on
Re: Syntax Error
Replies are listed 'Best First'.
Re: Re: Syntax Error
by
Anonymous Monk
on Jan 21, 2004 at 14:35 UTC
I am executing it using: . ./test.pl
[reply]
Re: Syntax Error
by
Abigail-II
(Bishop)
on Jan 21, 2004 at 14:37 UTC
Well, that's wrong. You are telling your current shell to execute the program in the current shell (without a fork). Remove the first dot.
Abigail
[reply]
In Section
Seekers of Perl Wisdom