line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
package MooseX::Util::Meta::Class; |
11
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:RSRCHBOY'; |
12
|
|
|
|
|
|
|
$MooseX::Util::Meta::Class::VERSION = '0.006'; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
15
|
5
|
|
|
5
|
|
657121
|
use Moose; |
|
5
|
|
|
|
|
626119
|
|
|
5
|
|
|
|
|
31
|
|
16
|
5
|
|
|
5
|
|
26219
|
use namespace::autoclean; |
|
5
|
|
|
|
|
23874
|
|
|
5
|
|
|
|
|
17
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
extends 'Moose::Meta::Class'; |
19
|
|
|
|
|
|
|
with 'MooseX::TraitFor::Meta::Class::BetterAnonClassNames'; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
!!42; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__END__ |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=pod |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=encoding UTF-8 |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=for :stopwords Chris Weyl BetterAnonClassNames |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=for :stopwords Wishlist flattr flattr'ed gittip gittip'ed |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 NAME |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
MooseX::Util::Meta::Class - A helper metaclass |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 VERSION |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
This document describes version 0.006 of MooseX::Util::Meta::Class - released June 26, 2015 as part of MooseX-Util. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 SYNOPSIS |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
# create a new type of Zombie catcher equipped with machete and car |
46
|
|
|
|
|
|
|
my $meta = MooseX::Util::Meta::Class->create_anon_class( |
47
|
|
|
|
|
|
|
'Zombie::Catcher' => qw{ |
48
|
|
|
|
|
|
|
Zombie::Catcher::Tools::Machete |
49
|
|
|
|
|
|
|
Zombie::Catcher::Tools::TracyChapmansFastCar |
50
|
|
|
|
|
|
|
}, |
51
|
|
|
|
|
|
|
); |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
# created anon classname is: Zombie::Catcher::__ANON__::SERIAL::42 |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 DESCRIPTION |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
This is a trivial extension of L<Moose::Meta::Class> that consumes the |
58
|
|
|
|
|
|
|
L<BetterAnonClassNames|MooseX::TraitFor::Meta::Class::BetterAnonClassNames> |
59
|
|
|
|
|
|
|
trait. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 SEE ALSO |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
Please see those modules/websites for more information related to this module. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=over 4 |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=item * |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
L<MooseX::Util|MooseX::Util> |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=back |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head1 BUGS |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
Please report any bugs or feature requests on the bugtracker website |
76
|
|
|
|
|
|
|
https://github.com/RsrchBoy/moosex-util/issues |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
When submitting a bug or request, please include a test-file or a |
79
|
|
|
|
|
|
|
patch to an existing test-file that illustrates the bug or desired |
80
|
|
|
|
|
|
|
feature. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head1 AUTHOR |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
Chris Weyl <cweyl@alumni.drew.edu> |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head2 I'm a material boy in a material world |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=begin html |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
<a href="https://gratipay.com/RsrchBoy/"><img src="http://img.shields.io/gratipay/RsrchBoy.svg" /></a> |
91
|
|
|
|
|
|
|
<a href="http://bit.ly/rsrchboys-wishlist"><img src="http://wps.io/wp-content/uploads/2014/05/amazon_wishlist.resized.png" /></a> |
92
|
|
|
|
|
|
|
<a href="https://flattr.com/submit/auto?user_id=RsrchBoy&url=https%3A%2F%2Fgithub.com%2FRsrchBoy%2Fmoosex-util&title=RsrchBoy's%20CPAN%20MooseX-Util&tags=%22RsrchBoy's%20MooseX-Util%20in%20the%20CPAN%22"><img src="http://api.flattr.com/button/flattr-badge-large.png" /></a> |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=end html |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
Please note B<I do not expect to be gittip'ed or flattr'ed for this work>, |
97
|
|
|
|
|
|
|
rather B<it is simply a very pleasant surprise>. I largely create and release |
98
|
|
|
|
|
|
|
works like this because I need them or I find it enjoyable; however, don't let |
99
|
|
|
|
|
|
|
that stop you if you feel like it ;) |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
L<Flattr|https://flattr.com/submit/auto?user_id=RsrchBoy&url=https%3A%2F%2Fgithub.com%2FRsrchBoy%2Fmoosex-util&title=RsrchBoy's%20CPAN%20MooseX-Util&tags=%22RsrchBoy's%20MooseX-Util%20in%20the%20CPAN%22>, |
102
|
|
|
|
|
|
|
L<Gratipay|https://gratipay.com/RsrchBoy/>, or indulge my |
103
|
|
|
|
|
|
|
L<Amazon Wishlist|http://bit.ly/rsrchboys-wishlist>... If and *only* if you so desire. |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
This software is Copyright (c) 2012 by Chris Weyl. |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
This is free software, licensed under: |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
The GNU Lesser General Public License, Version 2.1, February 1999 |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=cut |
114
|
|
|
|
|
|
|
|