On Thu, 2004-03-25 at 13:09 -0800, Stas Bekman wrote:
> Philippe M. Chiasson wrote:
> > As we discussed, instead of trying to use Tie::IxHash behind the scenes
> > to order %Location blocks and such, we will recommend users to use Tie::
> > * for themselves like so:
> > 
> > <Perl>
> >  tie %Location, "My::Tie";
> > 
> > </Perl>
> > 
> > So, until I get around updating the documentation, I've at least tested
> > that tied %Hashes in <Perl> sections do behave proprely. 
> 
> +1 after the usual request to fix indentation (perl code in the conf file) ;)

Will take care of this, as my identation skills are weakened ;-)

> 
> > Only problem I
> > can think of is that if you use PerlSections->dump, your hash will be
> > dumped as a hash, not seeing the tie magic. So next time around, if you
> > load your dumped <Perl> configuration, you'll experience hash ordering
> > trouble once again.
> 
> why can't we keep the tiedness?

Well, how are you supposed to correctly dump a tie'd object so it can be
restored by an eval ?

> __________________________________________________________________
> Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
> http://stason.org/     mod_perl Guide ---> http://perl.apache.org
> mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
> http://modperlbook.org http://apache.org   http://ticketmaster.com

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to