in reply to temp filehandle to filename
So you need an actual filename. For that I would suggest:
use File::Temp qw(tempfile); use IO::Handle; # time passes my ($fh, $filename) = tempfile(); print $fh "hello"; $fh->flush(); $r->sendfile($filename);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: temp filehandle to filename
by RandomWalk (Beadle) on Mar 31, 2009 at 16:48 UTC | |
by ikegami (Patriarch) on Mar 31, 2009 at 17:12 UTC | |
by tilly (Archbishop) on Mar 31, 2009 at 18:40 UTC |