From: Justin Hunter Date: Tue, 29 Sep 2009 23:53:59 +0000 (-0700) Subject: no more auto_deref X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=92f89ed0dbaaf231826ff0e172d20b412c744330;p=dbsrgits%2FSQL-Translator-2.0-ish.git no more auto_deref --- diff --git a/lib/SQL/Translator/Object/Procedure.pm b/lib/SQL/Translator/Object/Procedure.pm index b77425c..09c14db 100644 --- a/lib/SQL/Translator/Object/Procedure.pm +++ b/lib/SQL/Translator/Object/Procedure.pm @@ -17,14 +17,13 @@ class SQL::Translator::Object::Procedure extends SQL::Translator::Object { has '_parameters' => ( traits => ['Array'], - is => 'rw', isa => ArrayRef, handles => { + _parameters => 'elements', add_parameter => 'push', remove_last_parameter => 'pop', }, default => sub { [] }, - auto_deref => 1, );