On Sat, 18 May 2002, Dave Rolsky wrote:
> On Sat, 18 May 2002, Dave Rolsky wrote:
>
> > Now my new problem is that given this config:
> >
> > PerlSetVar MasonArgsMethod CGI
> >
> > PerlSetVar MasonAllowGlobals $Schema
> > PerlAddVar MasonAllowGlobals $UserSession
> > PerlAddVar MasonAllowGlobals $AdminSession
> >
> > PerlModule HTML::Mason::ApacheHandler
> >
> > <Directory /var/www>
> > <FilesMatch "\.mhtml$">
> > SetHandler perl-script
> > PerlResponseHandler HTML::Mason::ApacheHandler
> > </FilesMatch>
> > </Directory>
> > </IfModule>
More follow up.
When $c is an APR::Table object, this code:
while (my ($k, $v) = each %$c)
{
warn " $k => $v\n";
}
prints
MasonAllowGlobals => $Schema
3 times over, instead of print $Schema, $UserSession, & $AdminSession.
-dave
/*==================
www.urth.org
we await the New Sun
==================*/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
|