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);
In reply to Re: temp filehandle to filename
by tilly
in thread temp filehandle to filename
by RandomWalk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |