On Sat, Jun 7, 2008 at 12:36 PM, Gabor Szabo <[EMAIL PROTECTED]> wrote:
> I just got a failure report from David Golden as this line
> did not work  with "Permission denied"
>
> copy($0, "$0.tmp")
>
> He was running it on Windows (Strawberry Perl).
>
> I am sure I create temporary files in various test, so it might be the right
> time to streamline them.
>
> So what is the recommended place for temporary files and directories
> that I can expect to be writable?
>
> Should I just use File::Tempdir ?
>

>From the changes I've had to make within the Perl core, I'd suggest
just going with File::Temp.  It will probably do everything you want
to do.  But, then again, I'm not a huge fan of installing additional
modules just for testing.

Steve Peters
[EMAIL PROTECTED]

Reply via email to