Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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.

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 musing on the Monastery: (3)
As of 2016-10-22 04:03 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (292 votes). Check out past polls.