You have two options:

Option one: Put the string between single quotes $a = '"Test Test Test"';

Option two:  $a = q("Test Test Test");

Regards
Robert Graham

-----Original Message-----
From: Hubert Ian M. Tabug [mailto:[EMAIL PROTECTED]]
Sent: 07 January 2002 12:02
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