Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://318185]
help
Chatterbox?
[marto]: good morning all
[Corion]: Hi marto!
[Corion]: I just found out that in $current_top_prior ity_project , the part I am in is not even in the top three worries. That's somewhat bad, not because I'm happy with being a top worry but because that means that I don't even know how bad the rest ...
[Corion]: ... of the situation is :-)

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2017-07-26 08:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (385 votes). Check out past polls.