$a = "\"TEST TEST TEST\"";
print "$a";

Prints: "TEST TEST TEST"
The quotes are part of the string stored in the variable

-----Original Message-----
From: Hubert Ian M. Tabug [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 07, 2002 3:02 AM
To: Perl
Subject: Adding quotes to a string variable


Hello,
       I have a variable say $a = "Test Test Test" whose contents when
printed out is Test Test Test. I want the said variable to have the quotes
appended, meaning
 it will print out "Test Test Test" and the variable will contain the quotes
as well. Is that possible? You help would be greatly appreciated.


Thanks



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

Reply via email to