Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2016-08-25 16:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (361 votes). Check out past polls.