Tom Schindl wrote: > Jonathan Vanasco schrieb: > >>Does anyone plan on porting Apache::File to Apache2 ? >> >>I'm using it in the Apache2::compat mode right now, but I feel uneasy >>using compat outside of my dev box >> >>I took a stab at porting the perl part of File and Symdump, but File has >>an xs component I know i can't handle myself. >> >> > > > What does Apache::File provide other classes in mp2/standard perl don't? >
> - $fh->tmpfile() => File::Temp this is the only one that comes to mind - Apache::File::tmpfile() creates a temporary file that lingers for the rest of the request and is cleaned up automatically via a per-request cleanup. existing tempfile tools aren't _exactly_ like this. sure, it's simple enough to code yourself, but we used to offer this as part of the bundle... --Geoff