From: Stevan Little Date: Wed, 16 Aug 2006 19:53:00 +0000 (+0000) Subject: added default {} keyword X-Git-Tag: 0_12~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a69da384b8824de3b0d7d035dc2ebc0b7333e73b;p=gitmo%2FMoose.git added default {} keyword --- diff --git a/lib/Moose.pm b/lib/Moose.pm index d7d4dbb..708d73b 100644 --- a/lib/Moose.pm +++ b/lib/Moose.pm @@ -145,12 +145,6 @@ use Moose::Util::TypeConstraints; blessed => sub { return \&Scalar::Util::blessed; }, - default => sub { - return subname 'Moose::default' => sub (&) { - my $block = shift; - return ('default' => $block); - }; - } ); my $exporter = Sub::Exporter::build_exporter({