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