1 package Moose::Deprecated;
7 $VERSION = eval $VERSION;
8 our $AUTHORITY = 'cpan:STEVAN';
10 use Package::DeprecationManager -deprecations => {
11 'pre-0.94 MetaRole API' => '0.93',
12 'Moose::Exporter with_caller' => '0.89',
13 'Role type' => '0.84',
14 'subtype without sugar' => '0.72',
15 'type without sugar' => '0.72',
16 'Moose::init_meta' => '0.56',
18 -ignore => [qw( Moose Moose::Exporter Moose::Util::MetaRole )],
29 Moose::Deprecated - Manages deprecation warnings for Moose
33 use Moose::Deprecated -api_version => $version;
37 This module manages deprecation warnings for features that have been
40 If you specify C<< -api_version => $version >>, you can use deprecated features
41 without warnings. Note that this special treatment is limited to the package
42 that loads C<Class::MOP::Deprecated>.
46 Dave Rolsky E<lt>autarch@urth.orgE<gt>
48 =head1 COPYRIGHT AND LICENSE
50 Copyright 2006-2010 by Infinity Interactive, Inc.
52 L<http://www.iinteractive.com>
54 This library is free software; you can redistribute it and/or modify
55 it under the same terms as Perl itself.