line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Moose::Deprecated; |
2
|
|
|
|
|
|
|
our $VERSION = '2.2206'; |
3
|
|
|
|
|
|
|
|
4
|
391
|
|
|
391
|
|
2938
|
use strict; |
|
391
|
|
|
|
|
1209
|
|
|
391
|
|
|
|
|
11708
|
|
5
|
391
|
|
|
391
|
|
2057
|
use warnings; |
|
391
|
|
|
|
|
854
|
|
|
391
|
|
|
|
|
36815
|
|
6
|
|
|
|
|
|
|
|
7
|
391
|
|
|
|
|
4940
|
use Package::DeprecationManager 0.07 -deprecations => { |
8
|
|
|
|
|
|
|
'non-arrayref form of enum' => '2.1100', |
9
|
|
|
|
|
|
|
'non-arrayref form of duck_type' => '2.1100', |
10
|
|
|
|
|
|
|
}, |
11
|
|
|
|
|
|
|
-ignore => [qr/^(?:Class::MOP|Moose)(?:::)?/], |
12
|
391
|
|
|
391
|
|
142007
|
; |
|
391
|
|
|
|
|
923429
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
1; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
# ABSTRACT: Manages deprecation warnings for Moose |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
__END__ |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=pod |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=encoding UTF-8 |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 NAME |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Moose::Deprecated - Manages deprecation warnings for Moose |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 VERSION |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
version 2.2206 |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 DESCRIPTION |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
use Moose::Deprecated -api_version => $version; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 FUNCTIONS |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
This module manages deprecation warnings for features that have been |
39
|
|
|
|
|
|
|
deprecated in Moose. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
If you specify C<< -api_version => $version >>, you can use deprecated features |
42
|
|
|
|
|
|
|
without warnings. Note that this special treatment is limited to the package |
43
|
|
|
|
|
|
|
that loads C<Moose::Deprecated>. |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 AUTHORS |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=over 4 |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=item * |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
Stevan Little <stevan@cpan.org> |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=item * |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Dave Rolsky <autarch@urth.org> |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=item * |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
Jesse Luehrs <doy@cpan.org> |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=item * |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
Shawn M Moore <sartak@cpan.org> |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=item * |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org> |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=item * |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
Karen Etheridge <ether@cpan.org> |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=item * |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
Florian Ragwitz <rafl@debian.org> |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=item * |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Hans Dieter Pearcey <hdp@cpan.org> |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=item * |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
Chris Prather <chris@prather.org> |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=item * |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
Matt S Trout <mstrout@cpan.org> |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=back |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
This software is copyright (c) 2006 by Infinity Interactive, Inc. |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
96
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=cut |