summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-08-30 19:32:26 -0500
committerJesse Luehrs <doy@tozt.net>2009-08-30 19:32:26 -0500
commitd8bb77d12cf3856a8147852d58e8df9da402e329 (patch)
treee249bfc471e64646b55fdba8ad56d15cbfd9f30b
parentb55abfc680e335f49c9d7441cecefaff588356fb (diff)
downloadmoosex-abc-d8bb77d12cf3856a8147852d58e8df9da402e329.tar.gz
moosex-abc-d8bb77d12cf3856a8147852d58e8df9da402e329.zip
push accepts a list on its own
-rw-r--r--lib/MooseX/ABC.pm2
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(