Fri Apr 05 01:20:20 2019user42_kevin [...] yahoo.com.au - Ticket created
Subject:
docs atomic temp filename
Date:
Fri, 05 Apr 2019 16:20:42 +1100
To:
bug-File-Slurp [...] rt.cpan.org
From:
Kevin Ryde <user42_kevin [...] yahoo.com.au>
File::Slurp version 9999.26 docs under "atomic" says
A temporary file name is created by appending the pid ($$) to the
file name argument and that file is spewed to.
But does the use of tempfile() now make it instead like tempXXXXXX,
with the various random gambits of tempfile()?
Fri Apr 05 09:29:54 2019cwhitener [...] gmail.com - Taken
Hi Kevin,
Yes, it now uses File::Temp and all of its methods of ensuring we're getting a temporary filename that won't break anything. I've updated the documentation as I forgot to do that earlier.
Thank you and version 9999.27 should be hitting all of the CPAN mirrors soon.
-- Chase
Fri Apr 05 09:31:21 2019The RT System itself - Status changed from 'new' to 'open'
Fri Apr 05 09:31:22 2019cwhitener [...] gmail.com - Status changed from 'open' to 'resolved'