| | |
I get the error no file or directory when i try to run a perl script
![]() |
•
•
Join Date: Jun 2005
Posts: 6
Reputation:
Solved Threads: 0
I am new to the perl language and had just started reading the book "Perl5 by example" by David Meddinets.However in the very first chapter he says that you need to try out the programs on a perl interpreter.I have w98 and have downloaded the asi version of 5.8.7 from activestate.com and extracted using winzip.I also get the reply at command prompt after typing perl -v.I have made the addition of .pl in openwith command.I get the perl icon when i designate a script as ".pl".But When i try to run the perl script using c:\activeperl\perl\bin\perl.exe myfile.pl (which contains the basic print command),i get an error as " open the perl script:myfile.pl:no such file or directory".Also i cannot run cmd on run of w98.Why is that so?Please help me out.
•
•
Join Date: Jun 2005
Posts: 16
Reputation:
Solved Threads: 0
I've put screenshots showing how i run a script called getmap.pl on my win98 machine:
http://plh.org/getmap.jpg for start/run window
http://plh.org/msdos.jpg for msdos window
I added the die here line to stop all the debugging info from scrolling the command line off the screen =)
http://plh.org/getmap.jpg for start/run window
http://plh.org/msdos.jpg for msdos window
I added the die here line to stop all the debugging info from scrolling the command line off the screen =)
•
•
Join Date: Oct 2005
Posts: 1
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by nileshdalvi
I am new to the perl language and had just started reading the book "Perl5 by example" by David Meddinets.However in the very first chapter he says that you need to try out the programs on a perl interpreter.I have w98 and have downloaded the asi version of 5.8.7 from activestate.com and extracted using winzip.I also get the reply at command prompt after typing perl -v.I have made the addition of .pl in openwith command.I get the perl icon when i designate a script as ".pl".But When i try to run the perl script using c:\activeperl\perl\bin\perl.exe myfile.pl (which contains the basic print command),i get an error as " open the perl script:myfile.pl:no such file or directory".Also i cannot run cmd on run of w98.Why is that so?Please help me out.
Its Rajashekhar Managoli.
you just type perl and filemane.pl if this file in curent dir if not full path of that it will excute.
Njoy
Raj
![]() |
Similar Threads
- problem in running perl script (Perl)
- Perl Error Message-assistance requested (Perl)
- How to supress warning meesge when i run an command from perl script (Existing Scripts)
- i get an error while trying to run perl on win98 (Perl)
- On execution of perl script, popup asks if i want to save or run this file (Linux Servers and Apache)
Other Threads in the Perl Forum
- Previous Thread: Fields in HTML Form
- Next Thread: Regexp
| Thread Tools | Search this Thread |





