evalEmpire / perl5i

A single module to fix as much of Perl 5 as possible in one go
http://search.cpan.org/perldoc?perl5i
Other
156 stars 42 forks source link

Temp files should auto-cleanup by default #140

Open schwern opened 14 years ago

schwern commented 14 years ago

In general, you don't want temp files hanging around after the process exits. File::Temp doesn't default to this, so most folks forget to turn it on. In whatever perl5i does for temp files, cleanup should default to on.

schwern commented 10 years ago

Path::Tiny's tempdir and tempfile methods cover this. However, perl5i provides no access to those methods as there's no object to call them on. A puzzler.