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