need help with My first perl program
[email protected] (liming zhao) Fri, 23 Aug 2002 11:40:13 -0700 (PDT)
| Newsgroups | perl.macperl.webcgi |
|---|---|
| Message-ID | <[email protected]> |
Hey, my current work directory is /opt/ I can run command line> perl -e 'print "hello, I love perl"' But when I edit a file test.pl with the following content: #!/usr/bin/perl print "hello, I love perl"; and execute command chmod +x test.pl but when I type test.pl and enter key it is said "no command found!" will you tell you what is the problem? thanks in advance. Liming Zhao __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com