Frank (>>), Moritz (>):
>> My (admittedly
>> limited) experience with rakudo leads me to believe that the one-liner
>> or power-tool usage we've come to expect with perl5 may simply not
>> exist in perl6.
>
> As Gabor points out, they haven't been implement yet, but they will be.

Not always in exactly the same ways as Perl 5, of course. Perl 6 looks
quite different, even on the level of one-liners. Rest assured that
some of us are scouring the corners of Perl 5 for typical one-liners,
and trying to make sure that we have or will have a way to do similar
one-liners in Perl 6. The one-liners don't always end up as short as
in Perl 5, at least not after a literal translation. But they're often
in the same ballpark.

To me, it's an open question whether Perl 6 will be "competitive" as a
one-liner language next to Perl 5. The real surprise in brevity and
convenience comes when one lets go of the Perl 5 mindset and starts
using the list, hyper and reduction operators for processing files.
That's where Perl 6 shines, and Perl 5 has trouble keeping up.

// Carl

Reply via email to