Markus Reinhardt wrote:
> 
> Hi there,
> 
> I try to change the following line to modperl2:
> 
> my $fh = Apache::File->new($r->filename) || return DECLINED;

> But unfortunately I don't know in what manner I have to change
> the above line for Apache::File with the new modules.
> 
> Could someone give me a hint?

my $fh = IO::File->new($r->filename);

HTH

--Geoff


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to