From: Justin Hunter Date: Tue, 11 Aug 2009 21:43:37 +0000 (-0700) Subject: use IxHash X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2e7ac234bcc904ff4c00566c1b0aeae18ad491a7;p=dbsrgits%2FSQL-Translator-2.0-ish.git use IxHash --- diff --git a/lib/SQL/Translator/Object/Table.pm b/lib/SQL/Translator/Object/Table.pm index 7a1d9c4..2d2b0d3 100644 --- a/lib/SQL/Translator/Object/Table.pm +++ b/lib/SQL/Translator/Object/Table.pm @@ -51,7 +51,7 @@ class SQL::Translator::Object::Table { } } }, - default => sub { {} }, + default => sub { my %hash = (); tie %hash, 'Tie::IxHash'; return \%hash }, ); has 'constraints' => ( @@ -93,7 +93,7 @@ class SQL::Translator::Object::Table { } } }, - default => sub { {} }, + default => sub { my %hash = (); tie %hash, 'Tie::IxHash'; return \%hash }, ); has 'comments' => (