On 9/17/05, David Baird <[EMAIL PROTECTED]> wrote: > suggested the : method attribute should work for mod_perl 1 as well as > 2. So I tried it and it does. Specifically, I deleted the line in > setup() that exports handler() to the application's namespace, and > changed handler() to look like > > sub handler : method > > Restarted my mod_perl1 server, and the Maypole app works fine. Using > the :method attribute is the recommended practice for mod_perl2, so > that's covered. If you can give it whirl under CGI, we can check it > there, I expect it will work as well.
So to be clear.. adding a method attribute will work nicely for both versions of mod_perl and will avoid both symbol table munging/injection as well as fiddling with cgi or fastcgi code that shouldn't care about it. Also makes it clearer with a helpful comment of why and what it does. Works for me. Cheers, A. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Maypole-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/maypole-devel
