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 to print to command prompt no matter what I try


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'

Nothing works. I can run a pre written script, but that is it. I have the
camel book and none of the sample scripts will run. HELP!!!!!!!!!!!

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