X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2Fwith.pm;h=965e6da442f32ca51f60047967b943521959c596;hb=8aa4d8cae76a921141ab962f2a28f34f82e0d817;hp=2a086f5f6d287b9edef4a48b928420cb6226a37a;hpb=bf515118a25a277c189afd490f44d5ea1130f816;p=perl%2Fmodules%2Fwith.git diff --git a/lib/with.pm b/lib/with.pm index 2a086f5..965e6da 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 @@ -24,6 +24,12 @@ Version 0.02 our $VERSION = '0.02'; +=head1 WARNING + +This module was an early experiment which turned out to be completely unpractical. +Therefore its use is officially B. +Please don't use it, and don't hesitate to contact me if you want to reuse the namespace. + =head1 SYNOPSIS package Deuce; @@ -96,15 +102,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;