X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Frgit.git;a=blobdiff_plain;f=lib%2FApp%2FRgit%2FCommand.pm;fp=lib%2FApp%2FRgit%2FCommand.pm;h=8761da38dbfb553b7c46bba8ba27256573db2eef;hp=b4d78dd4984270f922a9b080b3c6963455651a40;hb=80656eec9bd2400f8db71d0d10d7d0be54139667;hpb=687f613f4cb227badb87cfd26c7dc7ceae810d03 diff --git a/lib/App/Rgit/Command.pm b/lib/App/Rgit/Command.pm index b4d78dd..8761da3 100644 --- a/lib/App/Rgit/Command.pm +++ b/lib/App/Rgit/Command.pm @@ -5,7 +5,7 @@ use warnings; use Carp (); -use App::Rgit::Utils qw/:codes/; +use App::Rgit::Utils qw<:codes>; =head1 NAME @@ -39,7 +39,7 @@ Creates a new command object for C<$cmd> that is bound to be called with argumen =cut my %commands; -__PACKAGE__->action($_ => 'Once') for qw/daemon gui help init version/, ' '; +__PACKAGE__->action($_ => 'Once') for qw, ' '; sub new { my $class = shift; @@ -120,7 +120,7 @@ Read-only accessors. =cut BEGIN { - eval "sub $_ { \$_[0]->{$_} }" for qw/cmd args policy/; + eval "sub $_ { \$_[0]->{$_} }" for qw; } =head2 C