in reply to Re^2: Generate a unique ID
in thread Generate a unique ID
So far it looks for me like you trying to reinvent the wheel. You need to create directory with unique name?
$dir = File::Temp->newdir;
That's it. If you want, you can specify template for the directory name which will include timestamp or whatever you want. If it return failure, it's for some other reason.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Generate a unique ID
by BrowserUk (Patriarch) on Nov 16, 2010 at 06:51 UTC |