let's suppose

$variable = "some text";

print "$variable\n"; # prints: some text

print '$varibale\n'; # prints: $variable\n

get it?

double quotes interpolate - expands variables and special characters.
single quotes do not interpolate - it's all just plain text don't think of
them as variables or special characters.

> -----Original Message-----
> From: Gajo Csaba [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 31, 2002 2:20 PM
> To: perl-beginners
> Subject: Silly question
> 
> 
> While I'm at silly questions, I guess I could ask this one 
> too: what is the difference between a " " and a ' '. I have 
> a book that explains it to me in one sentence, and I don't 
> understand one word that the author's using (I suck at 
> English), so could someone explain it to me? An example 
> would be nice too :)
> 
> Thanx, Csaba
> 
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.


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

Reply via email to