Re: best practices for temporary files during testing

2008-06-22 Thread Steve Peters
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

Re: best practices for temporary files during testing

2008-06-10 Thread nadim khemir
On Saturday 07 June 2008 19.36.21 Gabor Szabo 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

Re: best practices for temporary files during testing

2008-06-08 Thread Jonathan Rockway
* On Sat, Jun 07 2008, David Golden wrote: On Sat, Jun 7, 2008 at 1:58 PM, Christopher Laco [EMAIL PROTECTED] wrote: Directory::Scratch..and it cleans up after itself. Module::Install-- (and a somewhat dated one, too) Module::Install with auto_install-- Yeah, auto_install needs to die. The

Re: best practices for temporary files during testing

2008-06-08 Thread James E Keenan
Gabor Szabo wrote: Should I just use File::Tempdir ? I haven't yet explored File::Tempdir. But File::Temp has the advantages of being core, having both functional and OO interfaces, and widely used. We use it extensively in testing Parrot -- and just tonight I converted one case where

best practices for temporary files during testing

2008-06-07 Thread Gabor Szabo
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

Re: best practices for temporary files during testing

2008-06-07 Thread Christopher Laco
Gabor Szabo 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

Re: best practices for temporary files during testing

2008-06-07 Thread David Golden
On Sat, Jun 7, 2008 at 1:58 PM, Christopher Laco [EMAIL PROTECTED] wrote: Directory::Scratch..and it cleans up after itself. Module::Install-- (and a somewhat dated one, too) Module::Install with auto_install-- Otherwise, it's a nice wrapper around File::Temp, Path::Class and various other