Re: Exegesis 7: Literal '{' in format string

2004-02-29 Thread Damian Conway
Would that need to be a double backslash in a double-quoted string, or is there some new Perl 6 magic that keep it from being needed? No, it would need to be a double backslash in a qq{..} string. Fortunately qq{..} strings are very rarely needed in Cs. Damian

Re: Exegesis 7: Literal '{' in format string

2004-02-29 Thread Brent \"Dax\" Royal-Gordon
Damian Conway wrote: Joe Gottman asked: How do you put a literal '{' or '}' into a format string in Perl 6? Do you use a backslash? Yes, a backslash will quote anything (including backslash). Note that you really only need to backslash '{', since '}' isn't special by itself. Would that need to be

Re: Exegesis 7: Literal '{' in format string

2004-02-29 Thread Damian Conway
Joe Gottman asked: How do you put a literal '{' or '}' into a format string in Perl 6? Do you use a backslash? Yes, a backslash will quote anything (including backslash). Note that you really only need to backslash '{', since '}' isn't special by itself. Damian

Exegesis 7: Literal '{' in format string

2004-02-29 Thread Joe Gottman
How do you put a literal '{' or '}' into a format string in Perl 6? Do you use a backslash? Joe Gottman