Hey Cory,

  Let go from the top...

  Perl is installed...
  Perl is in your PATH...
  Your script 'example.pl' is in the directory C:\>...

  You get the error 'No such file or directory' when you type
    C:\>perl example.pl

  Is this all correct?

  My initial guess would be that you are in a different directory than where 
example.pl is saved.  If this is the case, change to that directory and try it again.

  For the 'print ("Hello\n")', try:

  perl -e "print qq~Hello\n~"

  If it does print hello, you know that Perl is working...

Shawn

----- Original Message ----- 
From: "cory" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 16, 2002 8:33 AM
Subject: Still Can't get perl to work on Win2K Pro PC


when I type perl  example.pl at the  C:\>command prompt I get this message: cannot 
open perl script "example.pl": No such file or directory. When I go to the folder that 
example.pl is located and double click on it opens for about 1/4 of a second that 
automatically closes.
when I type PATH at the C:\> command prompt I get 
PATH=D:\Perl\bin\; I still can't even run a simple print ("Hello\n");
from the C:\>command prompt. where is what I type
#!D:\Perl\bin\;
print ("Hello\n");
then I press enter and nothing happens but a carriage return 
Cory Moore
Campaign Manager
Pat Ahumada for Congress
www.patforcongress.com
www.americanvirtue.com



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to