Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Custom Sort Array

by omegaweaponZ (Beadle)
on Aug 10, 2013 at 15:43 UTC ( #1048936=note: print w/replies, xml ) Need Help??


in reply to Re: Custom Sort Array
in thread Custom Sort Array

Thanks, however this seems to return the same array I had previously. 10 is still preceded by 2.

I should clarify that the logs have numbers prior as well, so the log looks something like this:

abcd1_abc_123456.abc1a_A.201307290800-0900-0.gz
abcd1_abc_123456.abc1a_A.201307290800-0900-1.gz
abcd1_abc_123456.abc1a_A.201307290800-0900-10.gz
abcd1_abc_123456.abc1a_A.201307290800-0900-11.gz
abcd1_abc_123456.abc1a_A.201307290800-0900-2.gz
abcd1_abc_123456.abc1a_A.201307290800-0900-3.gz

Replies are listed 'Best First'.
Re^3: Custom Sort Array
by arkturuz (Curate) on Aug 10, 2013 at 16:44 UTC
    You changed the requirements but I think you see where is the solution going: extract relevant fields and compare that.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1048936]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2020-01-19 14:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?