diff options
Diffstat (limited to 'lib/Moose/Deprecated.pm')
-rw-r--r-- | lib/Moose/Deprecated.pm | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/lib/Moose/Deprecated.pm b/lib/Moose/Deprecated.pm new file mode 100644 index 0000000..cc7e2c0 --- /dev/null +++ b/lib/Moose/Deprecated.pm @@ -0,0 +1,98 @@ +package Moose::Deprecated; +our $VERSION = '2.1405'; + +use strict; +use warnings; + +use Package::DeprecationManager 0.07 -deprecations => { + 'non-arrayref form of enum' => '2.1100', + 'non-arrayref form of duck_type' => '2.1100', + }, + -ignore => [qr/^(?:Class::MOP|Moose)(?:::)?/], + ; + +1; + +# ABSTRACT: Manages deprecation warnings for Moose + +__END__ + +=pod + +=encoding UTF-8 + +=head1 NAME + +Moose::Deprecated - Manages deprecation warnings for Moose + +=head1 VERSION + +version 2.1405 + +=head1 DESCRIPTION + + use Moose::Deprecated -api_version => $version; + +=head1 FUNCTIONS + +This module manages deprecation warnings for features that have been +deprecated in Moose. + +If you specify C<< -api_version => $version >>, you can use deprecated features +without warnings. Note that this special treatment is limited to the package +that loads C<Moose::Deprecated>. + +=head1 AUTHORS + +=over 4 + +=item * + +Stevan Little <stevan.little@iinteractive.com> + +=item * + +Dave Rolsky <autarch@urth.org> + +=item * + +Jesse Luehrs <doy@tozt.net> + +=item * + +Shawn M Moore <code@sartak.org> + +=item * + +יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org> + +=item * + +Karen Etheridge <ether@cpan.org> + +=item * + +Florian Ragwitz <rafl@debian.org> + +=item * + +Hans Dieter Pearcey <hdp@weftsoar.net> + +=item * + +Chris Prather <chris@prather.org> + +=item * + +Matt S Trout <mst@shadowcat.co.uk> + +=back + +=head1 COPYRIGHT AND LICENSE + +This software is copyright (c) 2006 by Infinity Interactive, Inc.. + +This is free software; you can redistribute it and/or modify it under +the same terms as the Perl 5 programming language system itself. + +=cut |