Re: is there a Perl 5 converter?

2016-01-21 Thread Aaron Baugher
Tom Browder writes: > Thanks, Aaron, good explanation. But can you find a description of > '<->' in the Perl 6 docs? It's mentioned here: https://doc.perl6.org/language/control#for And here, where it's called the "double-ended arrow", though I don't know how official that name is: https://desi

Re: is there a Perl 5 converter?

2016-01-21 Thread Aaron Baugher
Tom Browder writes: > Perl 5 source > == >> my @aaa = qw( a b c d e f g ); >> for my $c (@aaa) { > > Perl::ToPerl6 > = >> my @aaa = qw ( a b c d e f g ); >> for (@aaa) -> $c { > > Blue_Tiger > >> my @aaa = < a b c d e f g >; >> for @aaa <-> $c { > > For the example Perl 5