diff options
author | dakkar <dakkar@thenautilus.net> | 2018-07-13 13:32:45 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2018-07-13 13:32:45 +0100 |
commit | c11ab0abb790e519d63c47c37962c31dc032014a (patch) | |
tree | 991a8368e29c0abdb0d38197f5deecca1bc9ba3b /lib/Getopt/Dakkar.pm | |
parent | make sure we return undef when stuff is not found (diff) | |
download | Getopt-Dakkar-c11ab0abb790e519d63c47c37962c31dc032014a.tar.gz Getopt-Dakkar-c11ab0abb790e519d63c47c37962c31dc032014a.tar.bz2 Getopt-Dakkar-c11ab0abb790e519d63c47c37962c31dc032014a.zip |
I'm losing the plot, here
Diffstat (limited to 'lib/Getopt/Dakkar.pm')
-rw-r--r-- | lib/Getopt/Dakkar.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Getopt/Dakkar.pm b/lib/Getopt/Dakkar.pm index f35147b..1432987 100644 --- a/lib/Getopt/Dakkar.pm +++ b/lib/Getopt/Dakkar.pm @@ -7,3 +7,7 @@ use Module::Runtime qw(use_module); with 'Getopt::Dakkar::Role::Command'; has '+name' => ( default => $0 ); + +sub go($self,$args=\@ARGV) { + return $self->parse($args,undef); +} |