summaryrefslogtreecommitdiff
path: root/cpan
diff options
context:
space:
mode:
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>2012-02-03 15:41:03 +0000
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2012-02-03 17:16:55 +0000
commite9e4ee6248c798dfc8aea40ae85f2fffcc37323a (patch)
tree73eb0144d66f525a58fcdcd3aec1967ca1fb8a18 /cpan
parent41cf8e73c965e95b0378d5c6f8e81787f311b316 (diff)
downloadperl-e9e4ee6248c798dfc8aea40ae85f2fffcc37323a.tar.gz
Update Version-Requirements to CPAN version 0.101022
[DELTA] 0.101022 2012-02-03 10:29:59 America/New_York DEPRECATED DEPRECATED DEPRECATED DEPRECATED Version::Requirements is still DEPRECATED deprecation is only warned-about if not doing core perl tests, to quiet them up for the sake of porters' sanity
Diffstat (limited to 'cpan')
-rw-r--r--cpan/Version-Requirements/Changes8
-rw-r--r--cpan/Version-Requirements/lib/Version/Requirements.pm9
2 files changed, 14 insertions, 3 deletions
diff --git a/cpan/Version-Requirements/Changes b/cpan/Version-Requirements/Changes
index 45af307415..34494b4796 100644
--- a/cpan/Version-Requirements/Changes
+++ b/cpan/Version-Requirements/Changes
@@ -1,5 +1,13 @@
Revision history for Version-Requirements
+0.101022 2012-02-03 10:29:59 America/New_York
+ DEPRECATED DEPRECATED DEPRECATED DEPRECATED
+
+ Version::Requirements is still DEPRECATED
+
+ deprecation is only warned-about if not doing core perl tests,
+ to quiet them up for the sake of porters' sanity
+
0.101021 2011-12-30 15:39:56 America/New_York
DEPRECATED DEPRECATED DEPRECATED DEPRECATED
diff --git a/cpan/Version-Requirements/lib/Version/Requirements.pm b/cpan/Version-Requirements/lib/Version/Requirements.pm
index be08029b1c..39ae206090 100644
--- a/cpan/Version-Requirements/lib/Version/Requirements.pm
+++ b/cpan/Version-Requirements/lib/Version/Requirements.pm
@@ -2,7 +2,7 @@ use strict;
use warnings;
package Version::Requirements;
{
- $Version::Requirements::VERSION = '0.101021';
+ $Version::Requirements::VERSION = '0.101022';
}
# ABSTRACT: a set of version requirements for a CPAN dist
@@ -11,9 +11,12 @@ use Carp ();
use Scalar::Util ();
use version 0.77 (); # the ->parse method
+# We silence this warning during core tests, because this is only in core
+# because it has to be, and nobody wants to see this stupid warning.
+# -- rjbs, 2012-01-20
Carp::cluck(
"Version::Requirements is deprecated; replace with CPAN::Meta::Requirements"
-);
+) unless $ENV{PERL_CORE};
sub new {
@@ -390,7 +393,7 @@ Version::Requirements - a set of version requirements for a CPAN dist
=head1 VERSION
-version 0.101021
+version 0.101022
=head1 SYNOPSIS