Re: [MacPerl-WebCGI] need help with My first perl program
[email protected] (Bill Becker) Fri, 23 Aug 2002 12:14:52 -0700
| Newsgroups | perl.macperl.webcgi |
|---|---|
| Message-ID | <p05111600b98c39bf4818@[66.81.67.29]> |
Type this: .. test.pl (that's dot-space-test.pl) Or append your current directory onto the $PATH environment variable. At 11:40 -0700 08/23/2002, liming zhao wrote: >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. >