X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fwith.git;a=blobdiff_plain;f=lib%2Fwith.pm;fp=lib%2Fwith.pm;h=4bef4cec12d04c77997b71cb32eeae2753f2c3c6;hp=2a086f5f6d287b9edef4a48b928420cb6226a37a;hb=5d3ec9b6f2a27ddb9a986a67cd428df2340af986;hpb=bf515118a25a277c189afd490f44d5ea1130f816 diff --git a/lib/with.pm b/lib/with.pm index 2a086f5..4bef4ce 100644 --- a/lib/with.pm +++ b/lib/with.pm @@ -5,12 +5,12 @@ use 5.009_004; use strict; use warnings; -use Carp qw/croak/; +use Carp qw; use Filter::Util::Call; -use Text::Balanced qw/extract_variable extract_quotelike extract_multiple/; -use Scalar::Util qw/refaddr set_prototype/; +use Text::Balanced qw; +use Scalar::Util qw; -use Sub::Prototype::Util qw/flatten wrap/; +use Sub::Prototype::Util qw; =head1 NAME @@ -96,15 +96,15 @@ my $extractor = [ ]; my %skip; -$skip{$_} = 1 for qw/my our local sub do eval goto return +$skip{$_} = 1 for qw; -my @core = qw/abs accept alarm atan2 bind binmode bless caller chdir chmod +my @core = qw; my %core; $core{$_} = prototype "CORE::$_" for @core;