On Du, 07 iul 19, 11:58:21, john doe wrote: > > Use as part of your directory name a random string: > > - Define a variable that holds the directory name with that random string > - Die if that directory already exist or generate a new name > > The name of the directory could have the form: > > directory.random-string > > https://metacpan.org/pod/String::Random
As far as I know Perl has dedicated modules for creating temporary files (and directories) in a safe and secure way. This usually involves including some random string in the name. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser
signature.asc
Description: PGP signature