Test::TempDir provides temporary directory creation with testing in mind.

WWW: http://search.cpan.org/dist/Test-TempDir/
