Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: sorting entires by date

by Coruscate (Sexton)
on Jan 01, 2004 at 23:12 UTC ( #318185=note: print w/ replies, xml ) Need Help??

in reply to Re: sorting entires by date
in thread sorting entires by date

$file{$time} = [ $file, $width, $height ];

Note that this method would break if there comes to be two rows of data in the file with the same timestamp. You'd only keep the last entry with said timestamp as the rest would be written over.

Comment on Re: sorting entires by date
Download Code
Replies are listed 'Best First'.
Re: Re: sorting entires by date
by exussum0 (Vicar) on Jan 01, 2004 at 23:19 UTC
    Yup, i'm assuming unique time stamps. :) I could use file names for keys and put the sort by the time stamp.

    Play that funky music white boy..

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2015-11-29 19:00 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (752 votes), past polls