Subject: | Maypole::Headers - useful new method |
I'm re-writing Mp::P::Session to use Apache::Session::Wrapper. The constructor for A::S::W needs a param object, which can be the Maypole request. It also needs a headers object, which could also, almost, be the Maypole request. A::S::W will attempt to set a cookie by calling add() on the Maypole::Headers object - which lacks such a method. But it has push(), so adding
*add = \&push
would make this work. The benefit is that the Apache or CGI frontends are supported transparently.
d.