in reply to Unique filenames with Time::HiRes
generate the filename, test if a file allready exists with this if not create one... you don't need locking for that.
anyway, if you open more files than time::hires can show, probably you should change to a database.
ciao
knoebi
UPDATE: you need locking, see beable's reply.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Unique filenames with Time::HiRes
by beable (Friar) on Jul 19, 2004 at 08:43 UTC | |
by knoebi (Friar) on Jul 19, 2004 at 15:03 UTC | |
Re^2: Unique filenames with Time::HiRes
by AcidHawk (Vicar) on Jul 19, 2004 at 08:08 UTC | |
by bsb (Priest) on Jul 19, 2004 at 08:16 UTC | |
by grinder (Bishop) on Jul 19, 2004 at 08:27 UTC | |
by bsb (Priest) on Jul 21, 2004 at 01:33 UTC | |
by beable (Friar) on Jul 19, 2004 at 08:32 UTC | |
by DrHyde (Prior) on Jul 20, 2004 at 08:09 UTC |