http://www.perlmonks.org?node_id=53191


in reply to (code) Re: can create with File::Temp but not unlink (close enough 8^)
in thread can create with File::Temp but not unlink

I can't get File-Temp to install via PPM (its there but ...) but the readme cautions about permissions on the dir. However, DUNWERK uses:
my $fh = tempfile($template, DIR => $dir);
and the rest use:
(my $fh, my $filename) = tempfile($template, DIR => $dir);
so ... array returns in scalar context or something?

a

  • Comment on Re: Re: can create with File::Temp but not unlink (close enough 8^)