File::CleanupTask is a CPAN module that the company I work at has opensourced. This is a presentation I gave about it at the London Perl Mongers technical meeting in August 2012.