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.
In reply to Re^2: Unique filenames with Time::HiRes
by AcidHawk
in thread Unique filenames with Time::HiRes
by AcidHawk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |