From: Damian Conway [mailto:[EMAIL PROTECTED]]
>    > >> my_while { pred() } { # don't gimme no Tcl flac.
>    > >> ...
>    > >> } # no semicolon needed here!
>    >
>    > DC> Just added to the RFC :-)
>    >
>    > How would the parser handle this? Some '}' would need 
> ';' some don't.
> 
> The trailing C<&> parameter specification tells the parser that there
> the last argument will be a raw block and that it need not be 
> a followed by a semicolon.

Do you mean Code block instead of raw block?

I am only aware of 3 kinds of blocks in Perl: Loop, Code, and Bare

I'm under the impression that "&" used in a function prototype signifies
that the function takes a code block.

I could be wrong. I often am. Am I?

Garrett

Reply via email to