It just makes dealing with quotes alot easier.  And you don't need to escape
the extra quotes within it.  For example,


print "value=\"true\"";

print qq!value="true"!;

print qq/value="true"/;


are all the same.  The qq uses the next character instead of the "
character.  Then you must end the line with the same character you started
with.  (qq!....!,  qq/..../, qq~....~)

Sorry, it's hard to explain in an email.


-----Original Message-----
From: Bill Lyles [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 7:31 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Definition


Ok, Sorry about that

Anyway what do you mean perldoc -f qq?

what does the ~qq mean?

----- Original Message -----
From: "fliptop" <[EMAIL PROTECTED]>
To: "Bill Lyles" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 8:53 PM
Subject: Re: Definition


> Bill Lyles wrote:
>
> > href="file://C:\Program Files\Common Files\Microsoft
Shared\Stationery\">
> > As I am somewhat new to perl
> >
> > can someone tell me what this means
> >
> > $header = qq~
> >
> > I understand the header but what is the qq~ for?
>
>
> perldoc -f qq
>
> btw, it's considered bad form to send html-ized email to the list.
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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



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

Reply via email to