in reply to Automatically deleting selected directories on program exit
Given the fact that it deals with temporary directories, I'd go a little further and encapsulate directory creation inside as well. In this way, you would reduce the risk that you create a temporary directory but forget to mark it as mortal (if you pass me the XS language). This makes me wonder if there's a CPAN module that already does this - if not, it's a good idea IMHO.
Flavio (perl -e 'print(scalar(reverse("\nti.xittelop\@oivalf")))')
Don't fool yourself.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Automatically deleting selected directories on program exit
by dragonchild (Archbishop) on May 13, 2005 at 12:54 UTC | |
by polettix (Vicar) on May 13, 2005 at 15:44 UTC |