Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: Perl 6 implementation of the following Perl 5 code

by konnjuta (Acolyte)
on May 28, 2013 at 07:23 UTC ( #1035535=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Perl 6 implementation of the following Perl 5 code
in thread Perl 6 implementation of the following Perl 5 code

I can confirm this works and Infact its actually much cleaner for people who likes one-liner

say reverse .words for map *[1], sort map {[.words[*-1],$_]}, grep /ICSE/, lines;

Hmm ... now I'm wondering why I couldn't get the sort to work without the parenthesis previously.


Comment on Re^4: Perl 6 implementation of the following Perl 5 code
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1035535]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2014-12-27 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls