Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: How to (ab)use sort

by kcott (Abbot)
on Apr 23, 2012 at 00:15 UTC ( #966511=note: print w/ replies, xml ) Need Help??

in reply to How to (ab)use sort

G'day Grimy,

I'm getting a different result under Mac OS X:

ken@ganymede: ~/tmp $ cat use strict; use warnings;()= sort{index+0x47,&$a($b)}sub{print&{;pop}}, sort{sub J{$!++&1}[0]}sub{exec''},map{@$_} sort{sub _{[(pop)x((1<<$!-->>47)|1)]}!{()= sort{my$_=$a;$a=_(sub{$_})if!/0/}$a,$b,0}} sort J('rke%ca hlrPe rhetoan tus;J')=~/./g ken@ganymede: ~/tmp $ perl Can't use string ("J") as an ARRAY ref while "strict refs" in use at p line 4. ken@ganymede: ~/tmp $ perl -v This is perl 5, version 14, subversion 2 (v5.14.2) built for darwin-th +read-multi-2level ...

-- Ken

Comment on Re: How to (ab)use sort
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (18)
As of 2014-07-30 13:06 GMT
Find Nodes?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:

    Results (231 votes), past polls