On Thu, Aug 27, 2009 at 6:48 PM, Eric Wilhelm<[email protected]> wrote:
> # from [email protected]
> # on Thursday 27 August 2009 14:08:
>
>>+  my $dist = DistGen->new( dir => MBTest->tmpdir );
>>+
>>+  # generate the skeleton files and also schedule cleanup
>>+  $dist->regen;
>>+  END{ $dist->remove }
>
> I think this END block is redundant given a temp dir with CLEANUP => 1.

remove() does a chdir out of the directory.  That's important or the
tempdir can't be removed on Windows.  At least, that's my best take on
the situation.

David

Reply via email to