David Baird wrote:
It's compiled in by default AFAIK. You just need to prototype the
handler method to switch it on. So if Maypole::handler was prototyped
as ($$), mod_perl would call it as a method and we wouldn't need the
naughtiness.

However, I suspect this would break Maypole under CGI, because there
is no parameter in the handler call. The prototype would need to be
($;$). And I'm guessing that prototype would *not* invoke mod_perl's
method handler behaviour, and we're back to needing something naughty.

If everything else works, we could just add a dummy parameter to the handler() call in CGI::Maypole.

Together with a comment! Perhaps something a little more explicit than Simon C's:

  # Interface consistency is a Good Thing

Cheers, Dave



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

Reply via email to