Steven Brooks wrote:
>
> On Monday 07 January 2002 03:16 am, you wrote:
> > 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
>
> Well, there are other options.
$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
H
On Monday 07 January 2002 03:16 am, you wrote:
> 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
Well, there are other options. Not that they are better, but they are
option
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 quot