develooper Front page | perl.perl6.users | Postings from July 2020

Raku version of "The top 10 tricks of Perl one-liners" ?!?

Thread Next
From:
William Michels via perl6-users
Date:
July 20, 2020 04:39
Subject:
Raku version of "The top 10 tricks of Perl one-liners" ?!?
Message ID:
CAA99HCzcjuJ7kv-B5dcwdxkSybxNHTeRW2uGCVih3+NNK=pJZg@mail.gmail.com
Hello,

I ran across this 2010 Perl(5) article on the Oracle Linux Blog:

"The top 10 tricks of Perl one-liners"
https://blogs.oracle.com/linux/the-top-10-tricks-of-perl-one-liners-v2

Q1. Now that it's a decade later--and Raku (née Perl6) has hit the
scene--can someone translate the 'top ten tricks' in the blog article
above into Raku?

Q2. Are many of the ten Perl(5) one-liner 'tricks' unnecessary in Raku
(better defaults, more regularized regexes, etc.)?

Best, Bill.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About