diff options
author | dakkar <dakkar@thenautilus.net> | 2018-07-13 13:09:26 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2018-07-13 13:09:26 +0100 |
commit | 7fce4340deb0b6337bbd7ef6071ee42529db222d (patch) | |
tree | 3761e50b1c592ad816e5c7782f2183aeae5a6ca9 /lib/Getopt/Dakkar/Style.pm | |
parent | style (diff) | |
download | Getopt-Dakkar-7fce4340deb0b6337bbd7ef6071ee42529db222d.tar.gz Getopt-Dakkar-7fce4340deb0b6337bbd7ef6071ee42529db222d.tar.bz2 Getopt-Dakkar-7fce4340deb0b6337bbd7ef6071ee42529db222d.zip |
vaguely parse commands
Diffstat (limited to 'lib/Getopt/Dakkar/Style.pm')
-rw-r--r-- | lib/Getopt/Dakkar/Style.pm | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/Getopt/Dakkar/Style.pm b/lib/Getopt/Dakkar/Style.pm index e843262..5246a95 100644 --- a/lib/Getopt/Dakkar/Style.pm +++ b/lib/Getopt/Dakkar/Style.pm @@ -1,12 +1,8 @@ package Getopt::Dakkar::Style; use 5.026; -use strictures 2; +use strictures version => 2; use true; use Import::Into; -use Try::Tiny (); -use Carp (); -use feature (); -use experimental (); use Path::Tiny (); # VERSION @@ -57,11 +53,11 @@ sub import { my $caller = caller(); strict->import(); - feature->import(':5.26'); + feature->import::into($caller, ':5.26'); Try::Tiny->import::into($caller); Carp->import::into($caller); - feature->import::into($caller, ':5.26'); true->import({ into => $caller }); + Getopt::Dakkar::X->import::into($caller); my %arg = map { $_ => 1 } @args; if ($arg{class}) { |