Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Problems? Is your data what you think it is?
 
PerlMonks  

Re: sorting entires by date

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 18: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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://318185]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.