
s660117
User
Jul 19, 2009, 3:28 PM
Post #1 of 2
(10724 views)
|
can't open perl script - no such file or directory
|
Can't Post
|
|
Hi, I just installed ActivePerl on my Windows Vista 64 bit machine. When I execute the sample mentioned in the ActivePerl User Guide - perl example.pl - I get the message "can't open perl script example.pl: no such file or directory". I get the same when I try to execute the hello program, which I added to the C:\Perl\bin directory. I have seen a number of questions about this issue on Google, but no answers that address my problem. When I issue "perl -v", I see This is perl, v5.10.0 built for MSWin32-x86-multi-thread (with 9 registered patches, see perl -V for more detail) Copyright 1987-2007, Larry Wall Binary build 1005 [290470] provided by ActiveState http://www.ActiveState.com Built May 24 2009 12:17:36 Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. When I issue "Path", I see PATH=C:\Perl\site\bin;C:\Perl\bin;C:\Windows\system32;C:\Windows;C:\Windows\Syst em32\Wbem;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\Qu ickTime\QTSystem\ I can understand why example.pl, which is in C:\Perl\eg fails to be found, but hello.pl, as I have said, sits in C:\Perl\bin. I would appreciate any help with this matter. Thanks in advance, s660117
|