diff options
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}) { |