summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Golden <dagolden@cpan.org>2009-10-19 21:36:16 -0400
committerDavid Golden <dagolden@cpan.org>2009-10-19 21:36:16 -0400
commitab87ca4d8e09a76494b6bc14f086623c2de4f79e (patch)
tree54ff9b8a74a5daa8bd4d02e4a0a66a247c6cb82f
parent8883bb5ae00921bf912c003dc007071a4a437baa (diff)
downloadperl-ab87ca4d8e09a76494b6bc14f086623c2de4f79e.tar.gz
formally mark deprecations in Maintainers.pl
-rwxr-xr-xPorting/Maintainers.pl13
1 files changed, 12 insertions, 1 deletions
diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl
index b07fa5c061..9a76bcd78d 100755
--- a/Porting/Maintainers.pl
+++ b/Porting/Maintainers.pl
@@ -147,6 +147,14 @@ use File::Glob qw(:case);
# full pathname (eg 't/foo.t') or a pattern (e.g. qr{^t/}).
# It defaults to the empty list.
+# DEPRECATED contains the *first* version of Perl in which the module
+# was considered deprecated. It should only be present if the module is
+# actually deprecated. Such modules should use deprecated.pm to
+# issue a warning if used. E.g.:
+#
+# use if $] >= 5.011, 'deprecate';
+#
+
# MAP is a hash that maps CPAN paths to their core equivalents.
# Each key reprepresents a string prefix, with longest prefixes checked
# first. The first match causes that prefix to be replaced with the
@@ -321,6 +329,7 @@ use File::Glob qw(:case);
'FILES' => q[cpan/Class-ISA],
'CPAN' => 1,
'UPSTREAM' => 'cpan',
+ 'DEPRECATED' => 5.011,
},
'Compress::Raw::Bzip2' =>
@@ -1275,7 +1284,7 @@ use File::Glob qw(:case);
'CPAN' => 1,
'UPSTREAM' => 'blead',
'EXCLUDED' => [ qw(t/pod.t t/pod-coverage.t) ],
- # DEPRECATED => 5.11.0,
+ 'DEPRECATED' => 5.011,
},
'Pod::Simple' =>
@@ -1348,6 +1357,7 @@ use File::Glob qw(:case);
'EXCLUDED' => [ qw{ t/01_use.t t/99_pod.t } ],
'CPAN' => 1,
'UPSTREAM' => undef,
+ 'DEPRECATED' => 5.011,
},
'Storable' =>
@@ -1367,6 +1377,7 @@ use File::Glob qw(:case);
'FILES' => q[dist/Switch],
'CPAN' => 1,
'UPSTREAM' => 'blead',
+ 'DEPRECATED' => 5.011,
},
'Sys::Syslog' =>