From: Vincent Pit Date: Sun, 23 Jul 2017 21:30:03 +0000 (+0200) Subject: This is 0.03 X-Git-Tag: v0.03 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=7a4ac3d2a162dd057c1b2967e485d636b1fbaec6;p=perl%2Fmodules%2Fwith.git This is 0.03 --- diff --git a/Changes b/Changes index 41339f1..61cb815 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,12 @@ Revision history for with +0.03 2017-07-23 21:30 UTC + With this release, this module is formally deprecated. Don't expect any + new release. + + Doc : Document deprecation. + + Fix : Deprecation warnings for \C. + + Upd : Metadata overhaul. + 0.02 2008-05-14 21:40 UTC + Doc : Added a few caveats. + Doc : POD quirks. diff --git a/MANIFEST b/MANIFEST index 744bba4..6dc1d16 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,5 +1,6 @@ Changes MANIFEST +META.json META.yml Makefile.PL README diff --git a/META.json b/META.json new file mode 100644 index 0000000..98cc196 --- /dev/null +++ b/META.json @@ -0,0 +1,65 @@ +{ + "abstract" : "Lexically call methods with a default object.", + "author" : [ + "Vincent Pit " + ], + "dynamic_config" : 0, + "generated_by" : "ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.150010", + "license" : [ + "perl_5" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : 2 + }, + "name" : "with", + "no_index" : { + "directory" : [ + "t", + "inc" + ] + }, + "prereqs" : { + "build" : { + "requires" : { + "Carp" : "0", + "ExtUtils::MakeMaker" : "0", + "Filter::Util::Call" : "0", + "Scalar::Util" : "0", + "Sub::Prototype::Util" : "0.08", + "Test::More" : "0", + "Text::Balanced" : "0" + } + }, + "configure" : { + "requires" : { + "ExtUtils::MakeMaker" : "0" + } + }, + "runtime" : { + "requires" : { + "Carp" : "0", + "Filter::Util::Call" : "0", + "Scalar::Util" : "0", + "Sub::Prototype::Util" : "0.08", + "Text::Balanced" : "0", + "perl" : "5.009004" + } + } + }, + "release_status" : "stable", + "resources" : { + "bugtracker" : { + "web" : "http://rt.cpan.org/Dist/Display.html?Name=with" + }, + "homepage" : "http://search.cpan.org/dist/with/", + "license" : [ + "http://dev.perl.org/licenses/" + ], + "repository" : { + "url" : "http://git.profvince.com/?p=perl%2Fmodules%2Fwith.git" + } + }, + "version" : "0.03", + "x_serialization_backend" : "JSON::PP version 2.94" +} diff --git a/META.yml b/META.yml index 2dc82b3..a4b97ca 100644 --- a/META.yml +++ b/META.yml @@ -1,21 +1,39 @@ ---- #YAML:1.0 -name: with -version: 0.02 -abstract: Lexically call methods with a default object. -license: perl -author: - - Vincent Pit -generated_by: ExtUtils::MakeMaker version 6.42 -distribution_type: module -requires: - Carp: 0 - Filter::Util::Call: 0 - Scalar::Util: 0 - Sub::Prototype::Util: 0.08 - Text::Balanced: 0 -meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.3.html - version: 1.3 +--- +abstract: 'Lexically call methods with a default object.' +author: + - 'Vincent Pit ' build_requires: - ExtUtils::MakeMaker: 0 - Test::More: 0 + Carp: '0' + ExtUtils::MakeMaker: '0' + Filter::Util::Call: '0' + Scalar::Util: '0' + Sub::Prototype::Util: '0.08' + Test::More: '0' + Text::Balanced: '0' +configure_requires: + ExtUtils::MakeMaker: '0' +dynamic_config: 0 +generated_by: 'ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.150010' +license: perl +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: '1.4' +name: with +no_index: + directory: + - t + - inc +requires: + Carp: '0' + Filter::Util::Call: '0' + Scalar::Util: '0' + Sub::Prototype::Util: '0.08' + Text::Balanced: '0' + perl: '5.009004' +resources: + bugtracker: http://rt.cpan.org/Dist/Display.html?Name=with + homepage: http://search.cpan.org/dist/with/ + license: http://dev.perl.org/licenses/ + repository: http://git.profvince.com/?p=perl%2Fmodules%2Fwith.git +version: '0.03' +x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff --git a/README b/README index e7b0b28..601f9f9 100644 --- a/README +++ b/README @@ -2,7 +2,13 @@ NAME with - Lexically call methods with a default object. VERSION - Version 0.02 + Version 0.03 + +WARNING + This module was an early experiment which turned out to be completely + unpractical. Therefore its use is officially deprecated. Please don't + use it, and don't hesitate to contact me if you want to reuse the + namespace. SYNOPSIS package Deuce; @@ -11,6 +17,7 @@ SYNOPSIS sub hlagh { my $self = shift; print "Deuce::hlagh $self->{id}\n" } + package Pants; sub hlagh { print "Pants::hlagh\n" } @@ -25,7 +32,7 @@ SYNOPSIS use with \$deuce; hlagh; # Deuce::hlagh 1 Pants::hlagh; # Pants::hlagh - + { use with \Deuce->new(2); hlagh; # Deuce::hlagh 2 @@ -73,7 +80,7 @@ IGNORED KEYWORDS A call will never be dispatched to a method whose name is one of : my our local sub do eval goto return - if else elsif unless given when or and + if else elsif unless given when or and while until for foreach next redo last continue eq ne lt gt le ge cmp map grep system exec sort print say @@ -112,8 +119,7 @@ DEPENDENCIES AUTHOR Vincent Pit, "", . - You can contact me by mail or on #perl @ FreeNode (vincent or - Prof_Vince). + You can contact me by mail or on "irc.perl.org" (vincent). BUGS Please report any bugs or feature requests to "bug-with at rt.cpan.org", @@ -133,7 +139,7 @@ ACKNOWLEDGEMENTS order to add hints support and more placeholder patterns. COPYRIGHT & LICENSE - Copyright 2008 Vincent Pit, all rights reserved. + Copyright 2008,2017 Vincent Pit, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/with.pm b/lib/with.pm index ce75b8e..cbc8f3d 100644 --- a/lib/with.pm +++ b/lib/with.pm @@ -18,11 +18,11 @@ with - Lexically call methods with a default object. =head1 VERSION -Version 0.02 +Version 0.03 =cut -our $VERSION = '0.02'; +our $VERSION = '0.03'; =head1 WARNING