From 7fce4340deb0b6337bbd7ef6071ee42529db222d Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 13 Jul 2018 13:09:26 +0100 Subject: vaguely parse commands --- lib/Getopt/Dakkar/Style.pm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'lib/Getopt/Dakkar/Style.pm') 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}) { -- cgit v1.2.3