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