Please don't forget to send the questions to the modperl list, not me. Thank you.

David Arnold wrote:
Stas et al,

I found this tip from Stas very helpful:


% lookup connection
To use method 'connection' add:
       use Apache::RequestRec ();

% lookup remote_ip
To use method 'remote_ip' add:
       use Apache::Connection ();

% alias lookup
perl -MApache2 -MModPerl::MethodLookup -e print_method


Any more good ones like this you want to share?

When I gave you these examples I've quoted the URL of the manpage which gives you all the information that you need. Here it is again:


http://perl.apache.org/docs/2.0/api/ModPerl/MethodLookup.html

For example, suppose I run:

[EMAIL PROTECTED] apache2]$lookup server_root_relative
There is more than one class with method 'server_root_relative'
try one of:
        use Apache::Connection ();
        use Apache::RequestRec ();
        use Apache::ServerUtil ();

Now, is there anything I can type at the command line to get help with this
method or any of these modules?

It's explained at the quoted manpage.

--
__________________________________________________________________
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

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to