From d8bb77d12cf3856a8147852d58e8df9da402e329 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 30 Aug 2009 19:32:26 -0500 Subject: push accepts a list on its own --- lib/MooseX/ABC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MooseX/ABC.pm b/lib/MooseX/ABC.pm index ef6cb15..d6c1b68 100644 --- a/lib/MooseX/ABC.pm +++ b/lib/MooseX/ABC.pm @@ -55,7 +55,7 @@ here, an error will be thrown when compiling the class. sub requires { my $caller = shift; my $meta = Class::MOP::class_of($caller); - $meta->add_required_method($_) for @_; + $meta->add_required_method(@_); } Moose::Exporter->setup_import_methods( -- cgit v1.2.3