Re: [newbie] Perl script is not able to execute

2002-01-30 Thread Anuerin G. Diaz
the directory containing perl was in your PATH variable while the current directory is not (its a security measure). the '#!' on the first line simply means that the file contains commands to be interpreted by the interpreter following these symbols (i think they are called magic numbers or

RE: [newbie] Perl script is not able to execute

2002-01-30 Thread FLYNN, Steve
./perl.pl You probably don't have the current directory in your search path, so when you issue the perl.pl command, the machine looks everywhere, apart from the current directory. Either get into the habit of specifying ./command or add ./ to your search path. Be aware that many people do not

Re: [newbie] Perl script is not able to execute

2002-01-30 Thread Anuerin G.Diaz
On Wed, 30 Jan 2002 04:41:04 -0500 Daniel Chen [EMAIL PROTECTED] revealed these words to me: Hi, Thank you for quickly answer my question, but the problem still there! Now, the bash shell gave me another wrong message: bash: /usr/bin/test.pl: no such file or directory When I put

Re: [newbie] Perl script is not able to execute

2002-01-30 Thread John Cichy
On Thursday 31 January 2002 09:19, Anuerin G.Diaz wrote: [snip] and test.pl contained in its first line the entry (without the quotes) #!/usr/bin/test.pl but when i substitute this line #!/bin/perl This is the correct first line of a perl script if perl resides in /bin. The first line of a

Re: [newbie] Perl script is not able to execute

2002-01-30 Thread Anuerin G.Diaz
On Wed, 30 Jan 2002 20:39:14 -0500 John Cichy [EMAIL PROTECTED] revealed these words to me: On Thursday 31 January 2002 09:19, Anuerin G.Diaz wrote: [snip] and test.pl contained in its first line the entry (without the quotes) #!/usr/bin/test.pl but when i substitute this line