D:\perl\bin must be in your path to find perl.exe, but if you don't have
cmd.exe in your path then there are a lot of other things that can break,
most notably batch files.  All of the perldocs are made using perl2bat batch
files, so you must be able to see cmd.exe.

Also, I think you might be misunderstanding the way perl works at the
command line.  If you type in this:

C:\> perl
print "hello\n";
^C

then you are exiting perl before it reaches the EOF character, which is ^Z
in Windows.  Try this:

C:\> perl
print "Hello\n";
^Z



-----Original Message-----
From: cory [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 16, 2002 4:17 PM
To: Timothy Johnson
Subject: Re: Can't spawn cmd.exe


no my PATH is D:\perl\bin\;
also I can run pre written scripts such as the example.pl
when I am in this directory D:\PERL\BIN> and I type perl example.pl But when
I type print "hello\n"; and then hit enter or CTRL C nothing happens.
----- Original Message -----
From: "Timothy Johnson" <[EMAIL PROTECTED]>
To: "'cory'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 16, 2002 6:04 PM
Subject: RE: Can't spawn cmd.exe


>
> Actually, yes, that could cause a lot of problems if cmd.exe is not in
your
> path.  Check your path variable.  Do you have %system%\system32 in there?
> If not, then it might be time to add it and possibly get rid of some
things
> in there if you know that you can safely remove them, such as entries
added
> by old programs.
>
> -----Original Message-----
> From: cory [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 16, 2002 3:34 PM
> To: [EMAIL PROTECTED]
> Subject: Can't spawn cmd.exe
>
>
> When I type perldoc perl at the command prompt I get the following:
> Can't spawn "cmd.exe": No such file or directory at
D:\Perl\bin\PERLDOC.bat
> line 395 Is this why I can not get perl to work
> 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]
>

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

Reply via email to