![]() |
| ||
| Perl problem Hey guys. Ive got a problem with a simple hello world script. Im a perl beginner so bear with me. Im running mandriva linux if it matters. Also this file is saved under /home/rysin/documents. Code #!/usr/bin/perl When I go into the command line and use the perl hello.pl command it comes up with this error message. Quote:
ANy idea why? |
| ||
| Re: Perl problem Have you checked if perl is installed on your system? Open up a terminal/shell and type: perl -v This should give you something like: This is perl, v5.8.8 built for i586-linux-thread-multi |
| ||
| Re: Perl problem Make the file executable first; usually 'chmod +x' will work. And make sure to type ./hello.pl, because otherwise it looks in /bin and /usr/bin, and not the current directory |
| All times are GMT -4. The time now is 10:34 pm. |
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC