|
|
| more useful options | |
| PerlMonks |
Re^2: Unique filenames with Time::HiResby AcidHawk (Vicar) |
| on Jul 19, 2004 at 04:08 UTC ( [id://375480]=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.
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.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||