Hi there,


I try to change the following line to modperl2:

my $fh = Apache::File->new($r->filename) || return DECLINED;

The documentation tells me that Apache::File has been removed
for modperl2. Implementing Apache::Porting module says to
replace Apache::File:

mod_perl 2.0 API doesn't include package 'Apache::File'. The package 'Apache::File' has moved to 'Apache::Response' 'Apache::RequestRec'

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?

Regards
Markus


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



Reply via email to