From: Dave Rolsky Date: Sun, 21 Nov 2010 16:29:19 +0000 (-0600) Subject: Add deprecation notices to all modules X-Git-Tag: 0.05~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3d1dec0aeed65b0c5d61de697ee1250f22ab2a75;p=gitmo%2FMoose-Policy.git Add deprecation notices to all modules --- diff --git a/lib/Moose/Policy.pm b/lib/Moose/Policy.pm index 14bdb66..ebc704f 100644 --- a/lib/Moose/Policy.pm +++ b/lib/Moose/Policy.pm @@ -66,6 +66,14 @@ Moose::Policy - Moose-mounted police # Foo now has (get, set)_bar methods as well as get_baz +=head1 DEPRECATION NOTICE + +B. + +L replaces the L module. The +other policies included in this distribution do not yet have standalone MooseX +modules, as of November, 2010. + =head1 DESCRIPTION This module allows you to specify your project-wide or even company-wide diff --git a/lib/Moose/Policy/FollowPBP.pm b/lib/Moose/Policy/FollowPBP.pm index 631dac9..3e8da6a 100644 --- a/lib/Moose/Policy/FollowPBP.pm +++ b/lib/Moose/Policy/FollowPBP.pm @@ -49,6 +49,12 @@ Moose::Policy::FollowPBP - Follow the recomendations in Perl Best Practices # Foo now has (get, set)_bar methods as well as get_baz +=head1 DEPRECATION NOTICE + +B. + +Use L instead. + =head1 DESCRIPTION This meta-policy changes Moose's default accessor-naming behavior to diff --git a/lib/Moose/Policy/JavaAccessors.pm b/lib/Moose/Policy/JavaAccessors.pm index 4a29979..489751c 100644 --- a/lib/Moose/Policy/JavaAccessors.pm +++ b/lib/Moose/Policy/JavaAccessors.pm @@ -49,6 +49,10 @@ Moose::Policy::JavaAccessors - BeCause EveryOne Loves CamelCase # Foo now has (get, set)Bar methods as well as getBaz +=head1 DEPRECATION NOTICE + +B. + =head1 DESCRIPTION This meta-policy changes the behavior of Moose's default behavior in diff --git a/lib/Moose/Policy/SingleInheritence.pm b/lib/Moose/Policy/SingleInheritence.pm index 9228f51..0236c50 100644 --- a/lib/Moose/Policy/SingleInheritence.pm +++ b/lib/Moose/Policy/SingleInheritence.pm @@ -44,6 +44,10 @@ Moose::Policy::SingleInheritence - Why would you ever need more than one? extends 'Foo', 'Bar'; # BOOM!!!! +=head1 DEPRECATION NOTICE + +B. + =head1 DESCRIPTION This module restricts Moose's C keyword so that you can only assign