Probably because the $r you're passing it is just "Apache2::RequestRec"
and not really the request object that Apache2::Request wants...

  Issac

Eli Shemer wrote:
> Hey again
> 
> Once I add the apr object I get no error but I also receive no output on
> the screen.
> 
> Any thoughts ?
> 
>  
> 
> #!/usr/bin/perl
> 
> use Apache2::Request;
> 
>  
> 
> my $r=Apache2::RequestRec;
> 
> #my $apr = Apache2::Request->new($r);   
> 
> $r->content_type('text/html');
> 
> $r->headers_out();
> 
> print "bla";
> 

Reply via email to