[Templates] Template::Plugin::DBI (DBI.tie bug)
Andy Wardley
abw@andywardley.com
Mon, 20 Oct 2003 18:57:02 +0100
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