Re: String Literals, take 1

[email protected] ("Joseph Ryan") Sat, 30 Nov 2002 07:07:23 +0000
Newsgroups perl.perl6.documentation
Message-ID <[email protected]>
First, apologies for the typos; fixed.

>Do you mean \Q or \Q{}, or both ?

\Q{}; \Q{} is different than \Q, at least according to the Apocalypse.

>
>   \Q{}        Escape all characters that need escaping
>               from this point on in the current string (except "}")
>

Yeah.

>
>Then
>print "@list\Q{0}"; # prints '1 20'

Yep.


Joseph F. Ryan
[email protected]

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963