I have many CGI scripts running under mp2 using ModPerl::Registry, that I want to re-architect to use more Apache API's (for speed) and handlers (i.e. authentication, logging).
I have been getting up to speed on the mp2 docs these past couple of weeks. I haven't really seen any good recommendations as to when to use the CGI.pm methods instead of the Apache2 methods - especially docs that are updated for mp2, so I can avoid having to learn the mp1 API and then unlearn/port to mp2. Has anyone got any tips or seen any current documents on when/not to use CGI.pm instead of the native Apache API with respect to; fetching/setting cookies fetching parameters (GET arguments or POST) simple HTML elements more complex HTML elements (forms, header/body) print vs. $r->print Also, the mp2 User's Guide (section 10.9.1) says CGI.pm now takes $r as an argument to its new() function. What benefit is this? Is it required? Tom __________________________________ Yahoo! Mail for Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail