Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Schwartzian transform deformed with impunity

by moritz (Cardinal)
on Apr 22, 2012 at 16:39 UTC ( #966480=note: print w/replies, xml ) Need Help??


in reply to Schwartzian transform deformed with impunity

The reason for the warnings is that the split returns chunks like 9.gb.txt, which are not numeric. Try to just extract the number:

@sorted = map{$_->[0]} sort{$a->[1] <=> $b->[1]} map{ [$_, /(\d+)/g] } + @unsorted;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://966480]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2017-03-25 16:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (311 votes). Check out past polls.