develooper Front page | perl.perl6.language | Postings from April 2006

Re: [svn:perl6-synopsis] r8625 - doc/trunk/design/syn

Thread Previous | Thread Next
Nicholas Clark
April 10, 2006 12:29
Re: [svn:perl6-synopsis] r8625 - doc/trunk/design/syn
Message ID:
On Mon, Apr 10, 2006 at 11:04:45AM -0700, wrote:

>  Embedded comments are supported as a variant on quoting syntax, introduced
> -by C<.#> and delimited by user-selected characters.
> +by C<#> plus any user-selected bracketing characters (including Unicode):

I don't think that any design documentation defined or tabulated what is
a bracketing character:

let alone how a user selects more of them.

> -    $object.#/ embedded comments /.say;
> +    $object.#{ embedded comments }.say;

'{' clearly is a bracketing character. But '/' wasn't?
Can I select # as a bracketing character for my obfuscations? :-)

Nicholas Clark

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About