Remove deprecation warning for CMOP::load_class ...
[gitmo/Moose.git] / lib / Class / MOP / Deprecated.pm
CommitLineData
38bf2a25 1package Class::MOP::Deprecated;
2
3use strict;
4use warnings;
5
38bf2a25 6use Package::DeprecationManager -deprecations => {
38bf2a25 7};
8
38bf2a25 91;
10
11__END__
12
13=pod
14
15=head1 NAME
16
17Class::MOP::Deprecated - Manages deprecation warnings for Class::MOP
18
19=head1 DESCRIPTION
20
21 use Class::MOP::Deprecated -api_version => $version;
22
23=head1 FUNCTIONS
24
25This module manages deprecation warnings for features that have been
26deprecated in Class::MOP.
27
28If you specify C<< -api_version => $version >>, you can use deprecated features
29without warnings. Note that this special treatment is limited to the package
30that loads C<Class::MOP::Deprecated>.
31
32=cut