[Templates] Template::Plugin::DBI (DBI.tie bug)

Jeff Anderson captvanhalen@yahoo.com
Mon, 20 Oct 2003 14:18:28 -0700 (PDT)


I was worried about "side effects". I ran t/dbi.t
and all tests passed ... this is very strange. I
take it you were not able to recreate my error?

jeffa

--- Andy Wardley <abw@andywardley.com> wrote:
> Jeff Anderson wrote:
> > Line [2]16, change:
> > return \%hash ;
> > 
> > to:
> > return {%hash} ;
> > 
> > Are you the maintaining this module now
> David?
> > Should i submit a patch to rt.cpan.org? 
> 
> First you should run the t/dbi.t test and see
> what it causes to fail... :-)
> 
> Unfortunately, your change breaks the whole
> behaviour of the tie() method
> by returning a copy of the contents of a tied
> hash, rather than the tied
> hash itself.
> 
> A
> 
> 
> _______________________________________________
> templates mailing list
> templates@template-toolkit.org
>
http://lists.template-toolkit.org/mailman/listinfo/templates


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com