Hi,

I am using Mandrake 8.1 with bash shell.
Today is my first time using perl script. I read from the book said if I
add #!/usr/bin/perl to the first line of my perl script, I can execute
the script by just typing the name of the script into the command line.
I have set the permission of this test.pl to 777

However, when I did that, the shell gave me a error message said 
bash: test.pl: command not found

If I type
perl test.pl
or
/usr/bin/perl test.pl
then the perl script will work perfectly

Please help me!

Daniel

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to