From: Dave Rolsky Date: Sat, 21 Mar 2009 15:02:57 +0000 (-0500) Subject: Remove the long-deprecated intliaze_body method X-Git-Tag: 0.72_01~43 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=31d6419f3bd51a8e6ac879f282ad2a191ca2e568;p=gitmo%2FMoose.git Remove the long-deprecated intliaze_body method --- diff --git a/lib/Moose/Meta/Method/Constructor.pm b/lib/Moose/Meta/Method/Constructor.pm index beeb1a9..77bc32b 100644 --- a/lib/Moose/Meta/Method/Constructor.pm +++ b/lib/Moose/Meta/Method/Constructor.pm @@ -115,10 +115,6 @@ sub attributes { (shift)->{'attributes'} } ## method -# this was changed in 0.41, but broke MooseX::Singleton, so try to catch -# any other code using the original broken spelling -sub intialize_body { $_[0]->throw_error("Please correct the spelling of 'intialize_body' to 'initialize_body'") } - sub _generate_params { my ($self, $var, $class_var) = @_; "my $var = " . $self->_generate_BUILDARGS($class_var, '@_') . ";\n";