in reply to Re: Abusing sort()
in thread Abusing sort()
This is perl, v5.6.1 built for i386-linux ckPartrao tunhlJe , eehsr
This is perl, v5.8.1-RC3 built for darwin-thread-multi-2level Just another Perl hacker,
Looks like Perl changed sort algorithms between 5.6 and 5.8. Try this on 5.6:This is perl, v5.8.4 built for i386-linux-thread-multi Just another Perl hacker,
perl -e'$_=sprintf("%08b"x12,map hex,"194e8e91cc3a0097991c0350"=~/../g +);print sort{(1+chop)*2-3}split"","Puht r arJtel\ncerae on,khs";'
|
|---|