Folks,
The Apache::File man pages indicate that 

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

returns a fh ready to write to. So far so good. 

In case of wanting to read from it, here is what I do:

# Is this necessary?
$fh->close() or die "Could not close $name: $!\n";

$opfh->open("<$name");
local $/        = undef;
$output         = <$opfh>;
warn "$output\n"; 
$opfh->close() or die "Could not close $name: $!\n";

But $output is empty on each request. Is there an error somewhere that I
am not seeing? I appreciate all comments.responses.
Thanks in advance
-r

Reply via email to