Comment out alias/excludes warnings for 1.12 release
[gitmo/Moose.git] / lib / Moose / Deprecated.pm
CommitLineData
3b400403 1package Moose::Deprecated;
2
3use strict;
4use warnings;
5
6b2f825e 6our $VERSION = '1.11';
3b400403 7$VERSION = eval $VERSION;
8our $AUTHORITY = 'cpan:STEVAN';
9
10use Package::DeprecationManager -deprecations => {
e9b0308c 11 'coerce without coercion' => '1.08',
45b62896 12 'pre-0.94 MetaRole API' => '0.94',
82f8ace6 13 'alias or excludes' => '0.89',
e9b0308c 14 'Role type' => '0.84',
15 'subtype without sugar' => '0.72',
16 'type without sugar' => '0.72',
17 'Moose::init_meta' => '0.56',
3b400403 18 },
e9b0308c 19 -ignore => [
20 qw( Moose
21 Moose::Exporter
22 Moose::Meta::Attribute
23 Moose::Meta::Class
24 Moose::Util::MetaRole
25 )
26 ],
3b400403 27 ;
28
291;
7ebd38db 30
31__END__
32
33=pod
34
35=head1 NAME
36
37Moose::Deprecated - Manages deprecation warnings for Moose
38
39=head1 DESCRIPTION
40
41 use Moose::Deprecated -api_version => $version;
42
43=head1 FUNCTIONS
44
45This module manages deprecation warnings for features that have been
46deprecated in Moose.
47
48If you specify C<< -api_version => $version >>, you can use deprecated features
49without warnings. Note that this special treatment is limited to the package
14c095bc 50that loads C<Moose::Deprecated>.
7ebd38db 51
52=head1 AUTHORS
53
54Dave Rolsky E<lt>autarch@urth.orgE<gt>
55
56=head1 COPYRIGHT AND LICENSE
57
58Copyright 2006-2010 by Infinity Interactive, Inc.
59
60L<http://www.iinteractive.com>
61
62This library is free software; you can redistribute it and/or modify
63it under the same terms as Perl itself.
64
65=cut