[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: Apache::File
From:       Perrin Harkins <perrin () elem ! com>
Date:       2006-08-22 16:22:43
Message-ID: 1156263763.1836.19.camel () localhost ! localdomain
[Download RAW message or body]

On Tue, 2006-08-22 at 11:30 -0400, Jonathan Vanasco wrote:
> Maybe i can wrap / subclass APR::File and then just add the tmpfile  
> functionality

If you use File::Temp, they will disappear when you close the file on
most OSes.  Or you can do this:

$r->push_handlers(PerlCleanupHandler => sub { File::Temp::cleanup() });

- Perrin

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic