Random Perl 6 syntax rant

Aaron Trevena aaron.trevena at gmail.com
Tue Apr 1 09:42:50 BST 2008


On 01/04/2008, Andy Wardley <abw at wardley.org> wrote:
> Here's my anti-favourite new unintuitive Perl6 syntax snippet.
>
>    for =$*IN -> $guess {
>       ...
>    }

Yuck.

>  Which is presumably a lot "better" than something like, say:
>
>    for <IN> -> $guess {
>       ...
>    }

Meh

>  Or even,
>
>    for $guess in <IN> {
>       ...
>    }

Nice.

A.

-- 
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Hosting


More information about the london.pm mailing list