i get an error while trying to run perl on win98

Reply

Join Date: Jun 2005
Posts: 6
Reputation: nileshdalvi is an unknown quantity at this point 
Solved Threads: 0
nileshdalvi nileshdalvi is offline Offline
Newbie Poster

i get an error while trying to run perl on win98

 
0
  #1
Jun 21st, 2005
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 " cannot open the perl script:myfile.pl:no such file or directory".Also i cannot run cmd on run of w98.What is the difference between perl script and perl module.Where can i get perl tutorials especially for win 98(I found a hellalot tuts for unix which i donot require).Please help me out.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 16
Reputation: kordaff is an unknown quantity at this point 
Solved Threads: 0
kordaff kordaff is offline Offline
Newbie Poster

Re: i get an error while trying to run perl on win98

 
0
  #2
Jun 21st, 2005
I believe the installer.bat file (a perl script) does a lot of file path renaming in various scripts in the perl installation. Using perl without running installer.bat is problematic. You also may need to specify the full path for myfile.pl unless it is in your current directory (while in a DOS command window).

Kordaff
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 2,413
Reputation: Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough 
Solved Threads: 211
Team Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Taboo Programmer

Re: i get an error while trying to run perl on win98

 
0
  #3
Jun 22nd, 2005
Yes, Using the installer is the best way to go. I've found that the later versions don't seem to require a lot of command line working (in 98) for the install, but that's been my experience.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC