I think I was editing wrong file all the time ;)
unless($r && $r->can('filename')) { gives:
No valid request object (Apache=SCALAR(0x83ec2c4)) passed to ASP handler; if
you are getting
this error message, you likely have a broken DSO version of mod_perl
which often occurs when using RedHat RPMs. One fix reported is to
configure "PerlSendHeader On". Another fix is to compile
statically the apache + mod_perl build as RedHat RPMs have been trouble.
Please check FAQ or mod_perl archives for more information.
unless (ref($r) and ($r->can('filename')){ gives:
Global symbol "$r" requires explicit package name at
/usr/local/lib/perl5/site_perl/5.005/Apache/ASP.pm line 134.
Global symbol "$status" requires explicit package name at
/usr/local/lib/perl5/site_perl/5.005/Apache/ASP.pm line 200.
[Fri Jan 26 01:51:28 2001] [error] syntax error at
/usr/local/lib/perl5/site_perl/5.005/Apache/ASP.pm line 127, near ";"
(Might be a runaway multi-line << string starting on line 119)
syntax error at /usr/local/lib/perl5/site_perl/5.005/Apache/ASP.pm line 231,
near "}"
[Fri Jan 26 01:51:28 2001] [error] Undefined subroutine
&Apache::ASP::handler called
unless($r && ($r =~ /^Apache/)) { gives:
[Fri Jan 26 01:53:13 2001] [error] Can't locate object method "dir_config"
via package "Apache" at /usr/local/lib/perl5/site_perl/5.005/Apache/ASP.pm
line 134.
unless(UNIVERSAL::can($r, 'filename')){ gives:
No valid request object (Apache=SCALAR(0x841deb8)) passed to ASP handler; if
you are getting
this error message, you likely have a broken DSO version of mod_perl
which often occurs when using RedHat RPMs. One fix reported is to
configure "PerlSendHeader On". Another fix is to compile
statically the apache + mod_perl build as RedHat RPMs have been trouble.
sorry about misinformation
Please check FAQ or mod_perl archives for more information.