perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <GYo...@laserlink.net>
Subject RE: porting Apache::File issues
Date Wed, 05 Dec 2001 13:49:05 GMT
 
> > nice.  but that doesn't give you a filename like 
> Apache::File->tmpfile
> > does, so we'd still need the old code for Apache::compat.
> 
> 
> why do you want to know the filename?
> 

  my ($filename, $fh) = Apache::File->tmpfile;

  ...

  $r->set_content_length(-s $filename);

:)

--Geoff

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message