# from David Golden
# on Thursday 27 August 2009 19:08:
>> 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.
Ah. That might be something we lost in r12453 by changing to
File::Temp, but it looks like we still have an END block in MBTest.pm.
Either way, the abstraction needs to be good enough that the caller
doesn't have to remember to do the right thing.
--Eric
--
"If you dig it, it's yours."
--An old village poet (via Al Pacino)
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------