Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: How to (ab)use sort

by kcott (Canon)
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 browsing the Monastery: (10)
As of 2015-11-25 00:40 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (666 votes), past polls