diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2008-05-09 02:33:48 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2008-05-09 02:33:48 -0500 |
commit | e63ecb6cec0021948fea4c09925d4b7511d39eff (patch) | |
tree | ba56e7756e6dbc455ce44e283f7d27399fd0c5af /lib/App/Hiveminder/Command.pm | |
parent | 60a9efacdb5f45029638c197f4166d55366f6428 (diff) | |
download | app-hiveminder-e63ecb6cec0021948fea4c09925d4b7511d39eff.tar.gz app-hiveminder-e63ecb6cec0021948fea4c09925d4b7511d39eff.zip |
have the base command class pass in the arguments to the command as a list instead of an arrayref
Diffstat (limited to 'lib/App/Hiveminder/Command.pm')
-rw-r--r-- | lib/App/Hiveminder/Command.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/App/Hiveminder/Command.pm b/lib/App/Hiveminder/Command.pm index d6f13df..f815874 100644 --- a/lib/App/Hiveminder/Command.pm +++ b/lib/App/Hiveminder/Command.pm @@ -14,7 +14,7 @@ has _hm => ( sub run { my ($self, $opt, $args) = @_; - my $result = $self->command($args); + my $result = $self->command(@$args); if (defined $result) { chomp $result; |