diff options
-rw-r--r-- | lib/MooseX/ABC.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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( |