As you may have seen Paul has found two mp1 methods that we have forgotten to port to mp2. It's quite possible that there are others. If you have some time, please check http://perl.apache.org/docs/1.0/api/ and see if there are other mp1 functions/methods that we may have forgotten.

You can verify whether mp2 knows about a given method by using this alias:
alias lookup="perl -MApache2 -MModPerl::MethodLookup -e print_method"

e.g. to check whether mp2 knows about the method 'gid', do:

% lookup gid
Don't know anything about method 'gid'

mp2 does know about methods that it no longer supports. e.g. send_http_header is no longer a part of the 2.0 API, so mp2 will tell you that:

% lookup send_http_header
'send_http_header' is not a part of the mod_perl 2.0 API
use 'content_type' instead. To use method 'content_type' add:
        use Apache::RequestRec ();

So we are looking only after functions and methods which we have forgotten, like 'gid' above.


__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com


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



Reply via email to