Re: starting perl

2004-05-03 Thread fliptop
On Sun, 2 May 2004 at 15:00, Charlie davis opined:

Cd:But when I type what it says in the book I am getting an error
Cd:messagethat states that I have entered a bad command or filename what I
Cd:am entering is c:\ perl -w -e print \ Hello, World!\n\; And then I
Cd:get the error message.
Cd:
Cd:I must be doing something wrong but I can not figure out what  it is.

what is the error message?  posting that always helps us help you.

from a casual glance, i'd say the 1st escaping backslash should not have a 
space after it (you want to escape the double quote, not the space).


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Re: starting perl

2004-05-03 Thread jon

 from a casual glance, i'd say the 1st escaping backslash should not have a 
 space after it (you want to escape the double quote, not the space).
 
try this instead. a little easier to read, and less error prone.

c:\ perl -w -e print qq( Hello, World!\n );  

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




starting perl

2004-05-02 Thread Charlie davis
From what I can remember I am running MSDOS version 6.0 (I thank) and the version of 
perl is perl 5.8

But when I type what it says in the book I am getting an error messagethat states that 
I have entered a bad command or filename
what I am entering is c:\ perl -w -e print \ Hello, World!\n\;
And then I get the error message.

I must be doing something wrong but I can not figure out what  it is.