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

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
      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