Schwartzian transform

Uri Guttman uri at stemsystems.com
Wed Aug 13 16:28:59 BST 2014


On 08/13/2014 05:33 AM, Dermot wrote:
> Hi
>
> Sorry for the OT post :)
>
> I am trying to transform the hash reference below so that the value of
> position is ordered from 1..4. The sorting works but I can't seem to modify
> the value of {position} inline. To achieve what I want I have to look
> through the @sorted array. I'd like to golf this if I can but I've hit a
> wall.

check out Sort::Maker which can generate and rub an ST for you. it can 
also generate the faster GRT style sort.

uri


-- 
Uri Guttman - The Perl Hunter
The Best Perl Jobs, The Best Perl Hackers
http://PerlHunter.com


More information about the london.pm mailing list