in reply to Re: Unique filenames with Time::HiRes
in thread Unique filenames with Time::HiRes
The filenames are created using a command line script that accepts parameters and builds the file. I need to keep the counter number somewhere else and not in the script itself.
If I dont lock the 'counter number holder file thingy' and two occurances of the cli access the 'counter number holder file thingy', each occurance of the script will get the same number.. hence the requirement to lock the 'counter number holder file thingy'.
I do agree though that I might need to look at a database.
-----
Of all the things I've lost in my life, its my mind I miss the most.
Of all the things I've lost in my life, its my mind I miss the most.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Unique filenames with Time::HiRes
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 |
In Section
Seekers of Perl Wisdom