Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: sorting entires by date

by exussum0 (Vicar)
on Jan 01, 2004 at 23:21 UTC ( #318191=note: print w/replies, xml ) Need Help??


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

I would advise writting to a temp file and moving that tempfile over the original since moves are closer to atomic as a perl instruction. If someone SIG'd your program in the middle, you may lose data.

Play that funky music white boy..

Replies are listed 'Best First'.
Re^3: sorting entires by date
by Aristotle (Chancellor) on Jan 01, 2004 at 23:47 UTC
    Good point - and to be truly lazy you hide this behind IO::AtomicFile. :)

    Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://318191]
help
Chatterbox?
[Discipulus]: s/some/new/
[choroba]: politics in the CB again?
[Discipulus]: was not philosopy choroba? ;=)

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2017-04-29 22:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (534 votes). Check out past polls.