Ooops.. is this problem still not yet solved ?! :-(
Hmmm. I don't know if this is OT of not, but seems that would
be a problem for Win32 beginners need to deal with
If a dosprompt is too difficult to deal with, let's return to the idea
of using "double click".
You'll say, the scre
> I have tried numerous variations of this simple script:
>
> print ("hello\n");
>
> perl -e "print qq~Hello\n~"
>
> C:\> perl
> print "Hello\n"; then press 'controll Z'
>
>
> print "hello";
>
> and press 'control C'
>
You have to enter CTRL+Z and ENTER on an empty line:
C:\> per
O.K. - I run Perl on win2k - screen dumps follow:
C:\>PATH
PATH=C:\Perl\bin\;C:\Tcl\bin;..
C:\>perl -e "print qq~Hello\n~"
Hello
C:\>perl
print "hello\n"
hello
^C
C:\>
So, Perl works.
Now, I have some scripts (one of which is called 'example.pl' - the one from
the start of 'Learning Perl'
I just tried it, and it does not work for me either. I too run on win2k.
I have always just put the code in a file or a module and executed it that
way. At least if you save them you will have a record of your progress.
"Cory" <[EMAIL PROTECTED]> wrote in message
001c01c22d40$b4107710$7c33aa18@
Hey Cory,
This is a screen shot from my command prompt, is this what you are doing character
for character?
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-1999 Microsoft Corp.
C:\>perl -e "print qq~Hello\n~"
Hello
C:\>perl -v
This is perl, v5.6.1 built for MSWin32-x86-multi-
Try the simplest :
# C:\test.pl #
print "hello world!\n";
##
At Dos prompt of C:\>
type :
perl test.pl
Rgds,
Connie
- Original Message -
From: "cory" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 17, 2002 11:19 AM
Subject: Can get script t