> -----Original Message-----
> From: Todd Caine [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 02, 2000 1:30 PM
> To: mod_perl
> Subject: Client filehandle?
> 
> 
> I've got a Perl Module which has a function called
> RRDs::graph($args), that will only print to stdout.  In my
> handler I write something similar to:
> 
> sub handler {
>   my $r = shift;
> 
>   #  I want the output to go to the client, ($r->print()),
> but instead it will only go to STDOUT

> So I was trying something like:
> 
> *STDOUT = \*r{IO};

Maybe (and I mean MAYBE):
local *STDOUT = \*$r;

HTH,
Douglas Wilson

Reply via email to