please keep discussions on list so that everyone can benefit :)
Dermot Paikkos wrote:
> Thanx Geoffrey,
>
> You probably noticed - due to my lack of real perl know-how - that I
> scooped a lot of that code from your book so another thanx.
sure thing :)
>
> Its works, problem is I am not sure
> I am pretty sure this is my ignorance on file handles, can anyone
> spot my error?
yes :)
>
> my ($tempfile,$fh) = Apache::File->tmpfile;
in general, you should avoid using $tmpfile unless you absolutely need it.
in this case you don't :)
> open(CLOCK,">$tempfile") || die "
Hi,
Mod_perl 1.27 on linux OS.
I am trying to create a small app that sends the user a file. I am
using Apache::File->tmpfile to create a temporary file which is
formatted using a simple format. However I can't seem to get it to
work correctly and I am either getting an empty file or a server