perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Rolsky <auta...@urth.org>
Subject Re: And some strangeness with dir_config
Date Sun, 19 May 2002 00:57:16 GMT
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


Mime
View raw message