Codebase list libmoose-perl / b09c96f
Merge tag 'upstream/2.0800' Upstream version 2.0800 Alessandro Ghedini 11 years ago
233 changed file(s) with 1703 addition(s) and 2015 deletion(s). Raw diff Collapse all Expand all
00 Also see Moose::Manual::Delta for more details of, and workarounds
11 for, noteworthy changes.
2
3 2.0800 Wed, Mar 27, 2013
4
5 [ENHANCEMENTS]
6
7 * The super() subroutine now carps if you pass it arguments. These arguments
8 are always ignored, but we used to ignore them silently. RT #77383.
9
10 * Roles can now override methods from other roles they consume directly,
11 without needing to manually exclude them (just like classes can). (mst)
12
13 [BUG FIXES]
14
15 * Fix false positive when checking for circular references for modules that
16 use the "also" parameter with Moose::Exporter. Reported by Jon
17 Swartz. Fixed by Matthew Wickline. RT #63818.
18
19 * Fix memory leak in type unions. (Karen Etheridge) RT#83929.
220
321 2.0604 Wed, Sep 19, 2012
422
0 This software is copyright (c) 2012 by Infinity Interactive, Inc..
0 This software is copyright (c) 2013 by Infinity Interactive, Inc..
11
22 This is free software; you can redistribute it and/or modify it under
33 the same terms as the Perl 5 programming language system itself.
1111
1212 --- The GNU General Public License, Version 1, February 1989 ---
1313
14 This software is Copyright (c) 2012 by Infinity Interactive, Inc..
14 This software is Copyright (c) 2013 by Infinity Interactive, Inc..
1515
1616 This is free software, licensed under:
1717
271271
272272 --- The Artistic License 1.0 ---
273273
274 This software is Copyright (c) 2012 by Infinity Interactive, Inc..
274 This software is Copyright (c) 2013 by Infinity Interactive, Inc..
275275
276276 This is free software, licensed under:
277277
5151 inc/CheckDelta.pm
5252 inc/Clean.pm
5353 inc/ExtractInlineTests.pm
54 inc/GatherDir.pm
5554 inc/GitUpToDate.pm
5655 inc/MMHelper.pm
5756 inc/MakeMaker.pm
336335 t/basics/rebless.t
337336 t/basics/require_superclasses.t
338337 t/basics/super_and_override.t
338 t/basics/super_warns_on_args.t
339339 t/basics/universal_methods_wrappable.t
340340 t/basics/wrapped_method_cxt_propagation.t
341341 t/bugs/DEMOLISHALL.t
360360 t/bugs/inline_reader_bug.t
361361 t/bugs/instance_application_role_args.t
362362 t/bugs/lazybuild_required_undef.t
363 t/bugs/moose_exporter_false_circular_reference_rt_63818.t
363364 t/bugs/moose_octal_defaults.t
364365 t/bugs/native_trait_handles_bad_value.t
365366 t/bugs/reader_precedence_bug.t
368369 t/bugs/subtype_conflict_bug.t
369370 t/bugs/subtype_quote_bug.t
370371 t/bugs/super_recursion.t
372 t/bugs/traits_with_exporter.t
371373 t/bugs/type_constraint_messages.t
372374 t/cmop/ArrayBasedStorage_test.t
373375 t/cmop/AttributesWithHistory_test.t
567569 t/recipes/basics_binarytree_attributefeatures.t
568570 t/recipes/basics_company_subtypes.t
569571 t/recipes/basics_datetime_extendingnonmooseparent.t
572 t/recipes/basics_geonome_overloadingsubtypesandcoercion.t
570573 t/recipes/basics_http_subtypesandcoercion.t
571574 t/recipes/basics_point_attributesandsubclassing.t
572575 t/recipes/extending_debugging_baseclassrole.t
33 "Moose is maintained by the Moose Cabal, along with the help of many contributors. See L<Moose/CABAL> and L<Moose/CONTRIBUTORS> for details."
44 ],
55 "dynamic_config" : 0,
6 "generated_by" : "Dist::Zilla version 4.300020, CPAN::Meta::Converter version 2.120921",
6 "generated_by" : "Dist::Zilla version 4.300031, CPAN::Meta::Converter version 2.120921",
77 "license" : [
88 "perl_5"
99 ],
5252 "DateTime::Calendar::Mayan" : "0",
5353 "DateTime::Format::MySQL" : "0",
5454 "Declare::Constraints::Simple" : "0",
55 "ExtUtils::MakeMaker::Dist::Zilla::Develop" : "0",
5556 "File::Find::Rule" : "0",
5657 "HTTP::Headers" : "0",
5758 "IO::File" : "0",
6667 "Test::Deep" : "0",
6768 "Test::DependentModules" : "0.13",
6869 "Test::Inline" : "0",
70 "Test::Inline::Extract" : "0",
6971 "Test::LeakTrace" : "0",
7072 "Test::Memory::Cycle" : "0",
7173 "Test::Output" : "0",
74 "Test::Pod" : "1.41",
7275 "Test::Spelling" : "0",
7376 "URI" : "0"
7477 }
119122 "web" : "http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Moose.git;a=summary"
120123 }
121124 },
122 "version" : "2.0604",
125 "version" : "2.0800",
123126 "x_authority" : "cpan:STEVAN",
124127 "x_conflicts" : {
125128 "Catalyst" : "5.80028",
99 Dist::CheckConflicts: 0.02
1010 ExtUtils::MakeMaker: 6.30
1111 dynamic_config: 0
12 generated_by: 'Dist::Zilla version 4.300020, CPAN::Meta::Converter version 2.120921'
12 generated_by: 'Dist::Zilla version 4.300031, CPAN::Meta::Converter version 2.120921'
1313 license: perl
1414 meta-spec:
1515 url: http://module-build.sourceforge.net/META-spec-v1.4.html
6060 resources:
6161 bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Moose
6262 repository: git://git.moose.perl.org/Moose.git
63 version: 2.0604
63 version: 2.0800
6464 x_authority: cpan:STEVAN
6565 x_conflicts:
6666 Catalyst: 5.80028
4444 'Task::Weaken' => '0',
4545 'Try::Tiny' => '0.02'
4646 },
47 'VERSION' => '2.0604',
47 'VERSION' => '2.0800',
4848 'XS' => {
4949 'xs/Attribute.xs' => 'xs/Attribute.c',
5050 'xs/AttributeCore.xs' => 'xs/AttributeCore.c',
00
11
22 This archive contains the distribution Moose,
3 version 2.0604:
3 version 2.0800:
44
55 A postmodern object system for Perl 5
66
7 This software is copyright (c) 2012 by Infinity Interactive, Inc..
7 This software is copyright (c) 2013 by Infinity Interactive, Inc..
88
99 This is free software; you can redistribute it and/or modify it under
1010 the same terms as the Perl 5 programming language system itself.
+19
-17
TODO less more
0 # vim: set ft=markdown :
1
02 ## Uncontroversial Items
13
24 These items are reasonably well thought out, and can go in any major release.
3638 ### Deprecate old-style Moose extensions
3739
3840 Moose extensions that work by calling `Moose->init_meta(metaclass =>
39 'Some::Custom::Metaclass', ...)` during their own init_meta should be
41 'Some::Custom::Metaclass', ...)` during their own `init_meta` should be
4042 deprecated, so they can be removed later (this should fix the issues with
4143 `init_meta` generation in Moose::Exporter, see RT51561)
4244
4345 This needs to wait until the previous fix gets in, since it will hopefully
44 eliminate the need to write custom init_meta methods entirely.
46 eliminate the need to write custom `init_meta` methods entirely.
4547
4648 ### Attributes in roles need to be able to participate in role composition
4749
7880 There's no actual reason for this not to work, and it gets asked often enough
7981 that we really should just do it at some point.
8082
81 ### use Sub::Identify instead of doing our own thing with get_code_info
83 ### use Sub::Identify instead of doing our own thing with `get_code_info`
8284
8385 No idea why we stopped using Sub::Identify in the past, but there's no reason
84 not to do this. We have a bug fix in our version (the isGV_with_GP thing), so
86 not to do this. We have a bug fix in our version (the `isGV_with_GP` thing), so
8587 this should be submitted to Sub::Identify first.
8688
8789 ## Needs Thought
9395 or at least, don't break existing overloading support
9496
9597 This shouldn't treat the overloading stuff as actual methods, since that's just
96 an implementation detail, but we should provide an API for add_overload,
97 get_overload, get_overload_list, etc. In particular, this would allow
98 an implementation detail, but we should provide an API for `add_overload`,
99 `get_overload`, `get_overload_list`, etc. In particular, this would allow
98100 namespace::autoclean to not break things.
99101
100102 Also, MooseX::Role::WithOverloading should probably be cored.
139141 ### Rename a bunch of the public API methods
140142
141143 Right now the public API is kind of a mess - we have things like `get_method`
142 vs `find_method_by`_name (you almost always want to use the latter), there
144 vs `find_method_by_name` (you almost always want to use the latter), there
143145 being no `has_method` equivalent that checks superclasses, `get_method_list`
144146 being public but only returning method names, while `_get_local_methods` is
145147 private (returning method objects), and yet neither of those looks at
155157
156158 There's a _lot_ of different conventions in here. Some things to consider:
157159
158 * new vs _new
160 * `new` vs `_new`
159161 * allowing new( 'name', %args ) vs ( name => 'name', %args )
160 * Method->wrap vs Method->new
162 * `Method->wrap` vs `Method->new`
161163
162164 ### Move method modifiers out to an external module
163165
194196 stands now, it does things like parse type names (and determine if
195197 they're valid), manage the registry, and much more.
196198
197 ### Anything with a _(meta)?class method
199 ### Anything with a \_(meta)?class method
198200
199201 Every method that returns a class name needs to become a rw attribute
200202 that can be set via the constructor.
215217 ### Does applying metaroles really need to reinitialize the metaclass?
216218
217219 Seems like the logic that's actually necessary is already contained in
218 rebless_instance, and not reinitializing means that existing attributes and
220 `rebless_instance`, and not reinitializing means that existing attributes and
219221 methods won't be blown away when metaroles are applied.
220222
221223 ### Do we want to core namespace::autoclean behavior somehow?
345347
346348 ### `t/todo_tests/role_insertion_order.t`
347349
348 Roles don't preserve attribute insertion_order.
350 Roles don't preserve attribute `insertion_order`.
349351
350352 ### `t/todo_tests/various_role_features.t`
351353
358360 handles => 'Role'.
359361 * Delegating to a role doesn't make $class->does('Role') true.
360362 * Method modifier in a role doesn't create a method requirement.
361 * Role->meta->has_method('attr_accessor') is false.
363 * `Role->meta->has_method('attr_accessor')` is false.
362364
363365 ### `t/type_constraints/type_names.t`
364366
449451
450452 The type checks can get expensive and some people have suggested that allowing
451453 the checks to be turned off would be helpful for deploying into performance
452 intensive systems. Perhaps this can actually be done as an option to make_immutable?
454 intensive systems. Perhaps this can actually be done as an option to `make_immutable`?
453455
454456 ### misc. minor bits
455457
456 * make the errors for TCs use ->message
458 * make the errors for TCs use `->message`
457459 * look into localizing the messages too
458460 * make ANON TCs be lazy, so they can possibly be subsituted for the real thing later
459461 * make ANON TCs more introspectable
466468 }
467469 on_fail { MyException->throw(value => $_[0], message => $_[1]) };
468470
469 fail() will just return false unless the call is made via $tc->check_or_fail($value);
471 fail() will just return false unless the call is made via `$tc->check_or_fail($value);`
470472
471473 * and then something like this:
472474
495497 [17:13] <autarch> that's fine for me
496498 [17:13] <stevan> k
497499
498 coerce_deeply => 1 # reads better
500 `coerce_deeply => 1 # reads better`
499501
500502 ### Moose::Meta::TypeConstraint::Parameter{izable,ized}
501503
1818 my $name = shift;
1919 my $attrs = join '', map { "has '$_' => ( is => 'ro', isa => 'Str' );\n" } @_;
2020 return qq{package $name;\nuse Moose;\n$attrs\n1;\n__END__\n};
21 },
22 'MooseImmutable' => sub {
23 my $name = shift;
24 my $attrs = join '', map { "has '$_' => ( is => 'ro', isa => 'Str' );\n" } @_;
25 return qq{package $name;\nuse Moose;\n$attrs\n__PACKAGE__->meta->make_immutable;\n1;\n__END__\n};
2126 },
2227 'Moo' => sub {
2328 my $name = shift;
22 license = Perl_5
33 copyright_holder = Infinity Interactive, Inc.
44
5 version = 2.0604
5 version = 2.0800
6
7 ; This sets the required version of Dist::Zilla
8 :version = 4.200016
69
710 [=inc::RequireAuthorDeps]
811 [=inc::Clean]
912
10 [=inc::GatherDir]
13 [GatherDir]
14 exclude_match = ^t/recipes/(?!basics_geonome_overloadingsubtypesandcoercion)
1115 [PruneCruft]
1216 [ManifestSkip]
1317 [MetaYAML]
7478 [NoTabsTests]
7579
7680 [CheckChangesHasContent]
81 [CheckPrereqsIndexed]
7782
7883 [Prereqs]
7984 Carp = 1.22
127132 Test::Output = 0
128133 Test::Spelling = 0
129134 URI = 0
135 Test::Inline::Extract = 0
136 ExtUtils::MakeMaker::Dist::Zilla::Develop = 0
130137
131138 [Prereqs / RuntimeRecommends]
132139 ; this needs to be installed *after*, since it deps on Moose
187194
188195 [=inc::CheckDelta]
189196 [=inc::GitUpToDate]
197
198 [Git::Remote::Check]
199 remote_branch = stable/2.08
200
201 [Git::CheckFor::CorrectBranch]
202 release_branch = stable/2.08
203
190204 [Git::Check]
191205 allow_dirty =
192206
193207 [Git::Tag]
194208 tag_format = %v
195 tag_message =
209 tag_message = %v%t
196210
197211 [Git::Commit]
198 commit_msg = changelog
212 allow_dirty = Changes
213 commit_msg = changelog for %N-%v%t
+0
-16
inc/GatherDir.pm less more
0 package inc::GatherDir;
1
2 use Moose;
3
4 extends 'Dist::Zilla::Plugin::GatherDir';
5
6 around _file_from_filename => sub {
7 my $orig = shift;
8 my $self = shift;
9 my $file = $self->$orig(@_);
10 return $file if $file->name =~ m+^t/recipes/basics_recipe10\.t+;
11 return () if $file->name =~ m+^t/recipes+;
12 return $file;
13 };
14
15 1;
33 $Class::MOP::Attribute::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Class::MOP::Attribute::VERSION = '2.0604';
6 $Class::MOP::Attribute::VERSION = '2.0800';
77 }
88
99 use strict;
475475
476476 # ABSTRACT: Attribute Meta Object
477477
478
478 __END__
479479
480480 =pod
481481
485485
486486 =head1 VERSION
487487
488 version 2.0604
488 version 2.0800
489489
490490 =head1 SYNOPSIS
491491
10251025
10261026 =head1 COPYRIGHT AND LICENSE
10271027
1028 This software is copyright (c) 2012 by Infinity Interactive, Inc..
1028 This software is copyright (c) 2013 by Infinity Interactive, Inc..
10291029
10301030 This is free software; you can redistribute it and/or modify it under
10311031 the same terms as the Perl 5 programming language system itself.
10321032
10331033 =cut
1034
1035
1036 __END__
1037
1038
1039
22 $Class::MOP::Class::Immutable::Trait::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Class::MOP::Class::Immutable::Trait::VERSION = '2.0604';
5 $Class::MOP::Class::Immutable::Trait::VERSION = '2.0800';
66 }
77
88 use strict;
9393
9494 # ABSTRACT: Implements immutability for metaclass objects
9595
96
96 __END__
9797
9898 =pod
9999
103103
104104 =head1 VERSION
105105
106 version 2.0604
106 version 2.0800
107107
108108 =head1 DESCRIPTION
109109
118118
119119 =head1 COPYRIGHT AND LICENSE
120120
121 This software is copyright (c) 2012 by Infinity Interactive, Inc..
121 This software is copyright (c) 2013 by Infinity Interactive, Inc..
122122
123123 This is free software; you can redistribute it and/or modify it under
124124 the same terms as the Perl 5 programming language system itself.
125125
126126 =cut
127
128
129 __END__
130
131
33 $Class::MOP::Class::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Class::MOP::Class::VERSION = '2.0604';
6 $Class::MOP::Class::VERSION = '2.0800';
77 }
88
99 use strict;
14951495
14961496 # ABSTRACT: Class Meta Object
14971497
1498
1498 __END__
14991499
15001500 =pod
15011501
15051505
15061506 =head1 VERSION
15071507
1508 version 2.0604
1508 version 2.0800
15091509
15101510 =head1 SYNOPSIS
15111511
22272227
22282228 =head1 COPYRIGHT AND LICENSE
22292229
2230 This software is copyright (c) 2012 by Infinity Interactive, Inc..
2230 This software is copyright (c) 2013 by Infinity Interactive, Inc..
22312231
22322232 This is free software; you can redistribute it and/or modify it under
22332233 the same terms as the Perl 5 programming language system itself.
22342234
22352235 =cut
2236
2237
2238 __END__
2239
22 $Class::MOP::Deprecated::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Class::MOP::Deprecated::VERSION = '2.0604';
5 $Class::MOP::Deprecated::VERSION = '2.0800';
66 }
77
88 use strict;
1515
1616 # ABSTRACT: Manages deprecation warnings for Class::MOP
1717
18
18 __END__
1919
2020 =pod
2121
2525
2626 =head1 VERSION
2727
28 version 2.0604
28 version 2.0800
2929
3030 =head1 DESCRIPTION
3131
4646
4747 =head1 COPYRIGHT AND LICENSE
4848
49 This software is copyright (c) 2012 by Infinity Interactive, Inc..
49 This software is copyright (c) 2013 by Infinity Interactive, Inc..
5050
5151 This is free software; you can redistribute it and/or modify it under
5252 the same terms as the Perl 5 programming language system itself.
5353
5454 =cut
55
56
57 __END__
58
33 $Class::MOP::Instance::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Class::MOP::Instance::VERSION = '2.0604';
6 $Class::MOP::Instance::VERSION = '2.0800';
77 }
88
99 use strict;
278278
279279 # ABSTRACT: Instance Meta Object
280280
281
281 __END__
282282
283283 =pod
284284
288288
289289 =head1 VERSION
290290
291 version 2.0604
291 version 2.0800
292292
293293 =head1 DESCRIPTION
294294
486486
487487 =head1 COPYRIGHT AND LICENSE
488488
489 This software is copyright (c) 2012 by Infinity Interactive, Inc..
489 This software is copyright (c) 2013 by Infinity Interactive, Inc..
490490
491491 This is free software; you can redistribute it and/or modify it under
492492 the same terms as the Perl 5 programming language system itself.
493493
494494 =cut
495
496
497 __END__
498
499
33 $Class::MOP::Method::Accessor::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Class::MOP::Method::Accessor::VERSION = '2.0604';
6 $Class::MOP::Method::Accessor::VERSION = '2.0800';
77 }
88
99 use strict;
240240
241241 # ABSTRACT: Method Meta Object for accessors
242242
243
243 __END__
244244
245245 =pod
246246
250250
251251 =head1 VERSION
252252
253 version 2.0604
253 version 2.0800
254254
255255 =head1 SYNOPSIS
256256
335335
336336 =head1 COPYRIGHT AND LICENSE
337337
338 This software is copyright (c) 2012 by Infinity Interactive, Inc..
338 This software is copyright (c) 2013 by Infinity Interactive, Inc..
339339
340340 This is free software; you can redistribute it and/or modify it under
341341 the same terms as the Perl 5 programming language system itself.
342342
343343 =cut
344
345
346 __END__
347
348
33 $Class::MOP::Method::Constructor::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Class::MOP::Method::Constructor::VERSION = '2.0604';
6 $Class::MOP::Method::Constructor::VERSION = '2.0800';
77 }
88
99 use strict;
120120
121121 # ABSTRACT: Method Meta Object for constructors
122122
123
123 __END__
124124
125125 =pod
126126
130130
131131 =head1 VERSION
132132
133 version 2.0604
133 version 2.0800
134134
135135 =head1 SYNOPSIS
136136
198198
199199 =head1 COPYRIGHT AND LICENSE
200200
201 This software is copyright (c) 2012 by Infinity Interactive, Inc..
201 This software is copyright (c) 2013 by Infinity Interactive, Inc..
202202
203203 This is free software; you can redistribute it and/or modify it under
204204 the same terms as the Perl 5 programming language system itself.
205205
206206 =cut
207
208
209 __END__
210
211
33 $Class::MOP::Method::Generated::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Class::MOP::Method::Generated::VERSION = '2.0604';
6 $Class::MOP::Method::Generated::VERSION = '2.0800';
77 }
88
99 use strict;
7070
7171 # ABSTRACT: Abstract base class for generated methods
7272
73
73 __END__
7474
7575 =pod
7676
8080
8181 =head1 VERSION
8282
83 version 2.0604
83 version 2.0800
8484
8585 =head1 DESCRIPTION
8686
9696
9797 =head1 COPYRIGHT AND LICENSE
9898
99 This software is copyright (c) 2012 by Infinity Interactive, Inc..
99 This software is copyright (c) 2013 by Infinity Interactive, Inc..
100100
101101 This is free software; you can redistribute it and/or modify it under
102102 the same terms as the Perl 5 programming language system itself.
103103
104104 =cut
105
106
107 __END__
108
109
22 $Class::MOP::Method::Inlined::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Class::MOP::Method::Inlined::VERSION = '2.0604';
5 $Class::MOP::Method::Inlined::VERSION = '2.0800';
66 }
77
88 use strict;
112112
113113 # ABSTRACT: Method base class for methods which have been inlined
114114
115
115 __END__
116116
117117 =pod
118118
122122
123123 =head1 VERSION
124124
125 version 2.0604
125 version 2.0800
126126
127127 =head1 DESCRIPTION
128128
148148
149149 =head1 COPYRIGHT AND LICENSE
150150
151 This software is copyright (c) 2012 by Infinity Interactive, Inc..
151 This software is copyright (c) 2013 by Infinity Interactive, Inc..
152152
153153 This is free software; you can redistribute it and/or modify it under
154154 the same terms as the Perl 5 programming language system itself.
155155
156156 =cut
157
158
159 __END__
160
161
33 $Class::MOP::Method::Meta::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Class::MOP::Method::Meta::VERSION = '2.0604';
6 $Class::MOP::Method::Meta::VERSION = '2.0800';
77 }
88
99 use strict;
8484
8585 # ABSTRACT: Method Meta Object for C<meta> methods
8686
87
87 __END__
8888
8989 =pod
9090
9494
9595 =head1 VERSION
9696
97 version 2.0604
97 version 2.0800
9898
9999 =head1 DESCRIPTION
100100
120120
121121 =head1 COPYRIGHT AND LICENSE
122122
123 This software is copyright (c) 2012 by Infinity Interactive, Inc..
123 This software is copyright (c) 2013 by Infinity Interactive, Inc..
124124
125125 This is free software; you can redistribute it and/or modify it under
126126 the same terms as the Perl 5 programming language system itself.
127127
128128 =cut
129
130
131 __END__
132
133
33 $Class::MOP::Method::Overload::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Class::MOP::Method::Overload::VERSION = '2.0604';
6 $Class::MOP::Method::Overload::VERSION = '2.0800';
77 }
88
99 use strict;
5252
5353 # ABSTRACT: Method Meta Object for methods which implement overloading
5454
55
55 __END__
5656
5757 =pod
5858
6262
6363 =head1 VERSION
6464
65 version 2.0604
65 version 2.0800
6666
6767 =head1 DESCRIPTION
6868
9191
9292 =head1 COPYRIGHT AND LICENSE
9393
94 This software is copyright (c) 2012 by Infinity Interactive, Inc..
94 This software is copyright (c) 2013 by Infinity Interactive, Inc..
9595
9696 This is free software; you can redistribute it and/or modify it under
9797 the same terms as the Perl 5 programming language system itself.
9898
9999 =cut
100
101
102 __END__
103
33 $Class::MOP::Method::Wrapped::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Class::MOP::Method::Wrapped::VERSION = '2.0604';
6 $Class::MOP::Method::Wrapped::VERSION = '2.0800';
77 }
88
99 use strict;
202202
203203 # ABSTRACT: Method Meta Object for methods with before/after/around modifiers
204204
205
205 __END__
206206
207207 =pod
208208
212212
213213 =head1 VERSION
214214
215 version 2.0604
215 version 2.0800
216216
217217 =head1 DESCRIPTION
218218
282282
283283 =head1 COPYRIGHT AND LICENSE
284284
285 This software is copyright (c) 2012 by Infinity Interactive, Inc..
285 This software is copyright (c) 2013 by Infinity Interactive, Inc..
286286
287287 This is free software; you can redistribute it and/or modify it under
288288 the same terms as the Perl 5 programming language system itself.
289289
290290 =cut
291
292
293 __END__
294
295
33 $Class::MOP::Method::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Class::MOP::Method::VERSION = '2.0604';
6 $Class::MOP::Method::VERSION = '2.0800';
77 }
88
99 use strict;
143143
144144 # ABSTRACT: Method Meta Object
145145
146
146 __END__
147147
148148 =pod
149149
153153
154154 =head1 VERSION
155155
156 version 2.0604
156 version 2.0800
157157
158158 =head1 DESCRIPTION
159159
291291
292292 =head1 COPYRIGHT AND LICENSE
293293
294 This software is copyright (c) 2012 by Infinity Interactive, Inc..
294 This software is copyright (c) 2013 by Infinity Interactive, Inc..
295295
296296 This is free software; you can redistribute it and/or modify it under
297297 the same terms as the Perl 5 programming language system itself.
298298
299299 =cut
300
301
302 __END__
303
304
22 $Class::MOP::MiniTrait::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Class::MOP::MiniTrait::VERSION = '2.0604';
5 $Class::MOP::MiniTrait::VERSION = '2.0800';
66 }
77
88 use strict;
4040
4141 # ABSTRACT: Extremely limited trait application
4242
43
43 __END__
4444
4545 =pod
4646
5050
5151 =head1 VERSION
5252
53 version 2.0604
53 version 2.0800
5454
5555 =head1 DESCRIPTION
5656
6464
6565 =head1 COPYRIGHT AND LICENSE
6666
67 This software is copyright (c) 2012 by Infinity Interactive, Inc..
67 This software is copyright (c) 2013 by Infinity Interactive, Inc..
6868
6969 This is free software; you can redistribute it and/or modify it under
7070 the same terms as the Perl 5 programming language system itself.
7171
7272 =cut
73
74
75 __END__
76
77
22 $Class::MOP::Mixin::AttributeCore::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Class::MOP::Mixin::AttributeCore::VERSION = '2.0604';
5 $Class::MOP::Mixin::AttributeCore::VERSION = '2.0800';
66 }
77
88 use strict;
5454
5555 # ABSTRACT: Core attributes shared by attribute metaclasses
5656
57
57 __END__
5858
5959 =pod
6060
6464
6565 =head1 VERSION
6666
67 version 2.0604
67 version 2.0800
6868
6969 =head1 DESCRIPTION
7070
7777
7878 =head1 COPYRIGHT AND LICENSE
7979
80 This software is copyright (c) 2012 by Infinity Interactive, Inc..
80 This software is copyright (c) 2013 by Infinity Interactive, Inc..
8181
8282 This is free software; you can redistribute it and/or modify it under
8383 the same terms as the Perl 5 programming language system itself.
8484
8585 =cut
86
87
88 __END__
89
22 $Class::MOP::Mixin::HasAttributes::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Class::MOP::Mixin::HasAttributes::VERSION = '2.0604';
5 $Class::MOP::Mixin::HasAttributes::VERSION = '2.0800';
66 }
77
88 use strict;
9999
100100 # ABSTRACT: Methods for metaclasses which have attributes
101101
102
102 __END__
103103
104104 =pod
105105
109109
110110 =head1 VERSION
111111
112 version 2.0604
112 version 2.0800
113113
114114 =head1 DESCRIPTION
115115
123123
124124 =head1 COPYRIGHT AND LICENSE
125125
126 This software is copyright (c) 2012 by Infinity Interactive, Inc..
126 This software is copyright (c) 2013 by Infinity Interactive, Inc..
127127
128128 This is free software; you can redistribute it and/or modify it under
129129 the same terms as the Perl 5 programming language system itself.
130130
131131 =cut
132
133
134 __END__
135
22 $Class::MOP::Mixin::HasMethods::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Class::MOP::Mixin::HasMethods::VERSION = '2.0604';
5 $Class::MOP::Mixin::HasMethods::VERSION = '2.0800';
66 }
77
88 use strict;
298298
299299 # ABSTRACT: Methods for metaclasses which have methods
300300
301
301 __END__
302302
303303 =pod
304304
308308
309309 =head1 VERSION
310310
311 version 2.0604
311 version 2.0800
312312
313313 =head1 DESCRIPTION
314314
322322
323323 =head1 COPYRIGHT AND LICENSE
324324
325 This software is copyright (c) 2012 by Infinity Interactive, Inc..
325 This software is copyright (c) 2013 by Infinity Interactive, Inc..
326326
327327 This is free software; you can redistribute it and/or modify it under
328328 the same terms as the Perl 5 programming language system itself.
329329
330330 =cut
331
332
333 __END__
334
22 $Class::MOP::Mixin::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Class::MOP::Mixin::VERSION = '2.0604';
5 $Class::MOP::Mixin::VERSION = '2.0800';
66 }
77
88 use strict;
1919
2020 # ABSTRACT: Base class for mixin classes
2121
22
22 __END__
2323
2424 =pod
2525
2929
3030 =head1 VERSION
3131
32 version 2.0604
32 version 2.0800
3333
3434 =head1 DESCRIPTION
3535
5353
5454 =head1 COPYRIGHT AND LICENSE
5555
56 This software is copyright (c) 2012 by Infinity Interactive, Inc..
56 This software is copyright (c) 2013 by Infinity Interactive, Inc..
5757
5858 This is free software; you can redistribute it and/or modify it under
5959 the same terms as the Perl 5 programming language system itself.
6060
6161 =cut
62
63
64 __END__
65
33 $Class::MOP::Module::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Class::MOP::Module::VERSION = '2.0604';
6 $Class::MOP::Module::VERSION = '2.0800';
77 }
88
99 use strict;
9191
9292 # ABSTRACT: Module Meta Object
9393
94
94 __END__
9595
9696 =pod
9797
101101
102102 =head1 VERSION
103103
104 version 2.0604
104 version 2.0800
105105
106106 =head1 DESCRIPTION
107107
160160
161161 =head1 COPYRIGHT AND LICENSE
162162
163 This software is copyright (c) 2012 by Infinity Interactive, Inc..
163 This software is copyright (c) 2013 by Infinity Interactive, Inc..
164164
165165 This is free software; you can redistribute it and/or modify it under
166166 the same terms as the Perl 5 programming language system itself.
167167
168168 =cut
169
170
171 __END__
172
33 $Class::MOP::Object::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Class::MOP::Object::VERSION = '2.0604';
6 $Class::MOP::Object::VERSION = '2.0800';
77 }
88
99 use strict;
100100
101101 # ABSTRACT: Base class for metaclasses
102102
103
103 __END__
104104
105105 =pod
106106
110110
111111 =head1 VERSION
112112
113 version 2.0604
113 version 2.0800
114114
115115 =head1 DESCRIPTION
116116
140140
141141 =head1 COPYRIGHT AND LICENSE
142142
143 This software is copyright (c) 2012 by Infinity Interactive, Inc..
143 This software is copyright (c) 2013 by Infinity Interactive, Inc..
144144
145145 This is free software; you can redistribute it and/or modify it under
146146 the same terms as the Perl 5 programming language system itself.
147147
148148 =cut
149
150
151 __END__
152
33 $Class::MOP::Package::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Class::MOP::Package::VERSION = '2.0604';
6 $Class::MOP::Package::VERSION = '2.0800';
77 }
88
99 use strict;
261261
262262 # ABSTRACT: Package Meta Object
263263
264
264 __END__
265265
266266 =pod
267267
271271
272272 =head1 VERSION
273273
274 version 2.0604
274 version 2.0800
275275
276276 =head1 DESCRIPTION
277277
396396
397397 =head1 COPYRIGHT AND LICENSE
398398
399 This software is copyright (c) 2012 by Infinity Interactive, Inc..
399 This software is copyright (c) 2013 by Infinity Interactive, Inc..
400400
401401 This is free software; you can redistribute it and/or modify it under
402402 the same terms as the Perl 5 programming language system itself.
403403
404404 =cut
405
406
407 __END__
408
33 $Class::MOP::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Class::MOP::VERSION = '2.0604';
6 $Class::MOP::VERSION = '2.0800';
77 }
88
99 use strict;
720720
721721 # ABSTRACT: A Meta Object Protocol for Perl 5
722722
723
723 __END__
724724
725725 =pod
726726
730730
731731 =head1 VERSION
732732
733 version 2.0604
733 version 2.0800
734734
735735 =head1 DESCRIPTION
736736
11131113
11141114 =head1 COPYRIGHT AND LICENSE
11151115
1116 This software is copyright (c) 2012 by Infinity Interactive, Inc..
1116 This software is copyright (c) 2013 by Infinity Interactive, Inc..
11171117
11181118 This is free software; you can redistribute it and/or modify it under
11191119 the same terms as the Perl 5 programming language system itself.
11201120
11211121 =cut
1122
1123
1124 __END__
1125
11
22 # ABSTRACT: Demonstrates the use of method modifiers in a subclass
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
332332
333333 =head1 COPYRIGHT AND LICENSE
334334
335 This software is copyright (c) 2012 by Infinity Interactive, Inc..
335 This software is copyright (c) 2013 by Infinity Interactive, Inc..
336336
337337 This is free software; you can redistribute it and/or modify it under
338338 the same terms as the Perl 5 programming language system itself.
339339
340340 =cut
341
342
343 __END__
344
345
11
22 # ABSTRACT: Demonstrates various attribute features including lazy, predicates, weak refs, and more
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
345345
346346 =head1 COPYRIGHT AND LICENSE
347347
348 This software is copyright (c) 2012 by Infinity Interactive, Inc..
348 This software is copyright (c) 2013 by Infinity Interactive, Inc..
349349
350350 This is free software; you can redistribute it and/or modify it under
351351 the same terms as the Perl 5 programming language system itself.
352352
353353 =cut
354
355
356 __END__
357
358
11
22 # ABSTRACT: Builder methods and lazy_build
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
124124
125125 =head1 COPYRIGHT AND LICENSE
126126
127 This software is copyright (c) 2012 by Infinity Interactive, Inc..
127 This software is copyright (c) 2013 by Infinity Interactive, Inc..
128128
129129 This is free software; you can redistribute it and/or modify it under
130130 the same terms as the Perl 5 programming language system itself.
131131
132132 =cut
133
134
135 __END__
136
137
11
22 # ABSTRACT: Demonstrates the use of subtypes and how to model classes related to companies, people, employees, etc.
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
550550
551551 =head1 COPYRIGHT AND LICENSE
552552
553 This software is copyright (c) 2012 by Infinity Interactive, Inc..
553 This software is copyright (c) 2013 by Infinity Interactive, Inc..
554554
555555 This is free software; you can redistribute it and/or modify it under
556556 the same terms as the Perl 5 programming language system itself.
557557
558558 =cut
559
560
561 __END__
562
563
11
22 # ABSTRACT: Extending a non-Moose parent class
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
7575
7676 =head1 COPYRIGHT AND LICENSE
7777
78 This software is copyright (c) 2012 by Infinity Interactive, Inc..
78 This software is copyright (c) 2013 by Infinity Interactive, Inc..
7979
8080 This is free software; you can redistribute it and/or modify it under
8181 the same terms as the Perl 5 programming language system itself.
8282
8383 =cut
84
85
86 __END__
87
88
11
22 # ABSTRACT: The augment modifier, which turns normal method overriding "inside-out"
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
145145
146146 =head1 COPYRIGHT AND LICENSE
147147
148 This software is copyright (c) 2012 by Infinity Interactive, Inc..
148 This software is copyright (c) 2013 by Infinity Interactive, Inc..
149149
150150 This is free software; you can redistribute it and/or modify it under
151151 the same terms as the Perl 5 programming language system itself.
152152
153153 =cut
154
155
156 __END__
157
158
11
22 # ABSTRACT: Operator overloading, subtypes, and coercion
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
273273
274274 =head1 COPYRIGHT AND LICENSE
275275
276 This software is copyright (c) 2012 by Infinity Interactive, Inc..
276 This software is copyright (c) 2013 by Infinity Interactive, Inc..
277277
278278 This is free software; you can redistribute it and/or modify it under
279279 the same terms as the Perl 5 programming language system itself.
280280
281281 =cut
282
283
284 __END__
285
286
287
11
22 # ABSTRACT: Demonstrates subtypes and coercion use HTTP-related classes (Request, Protocol, etc.)
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
293293
294294 =head1 COPYRIGHT AND LICENSE
295295
296 This software is copyright (c) 2012 by Infinity Interactive, Inc..
296 This software is copyright (c) 2013 by Infinity Interactive, Inc..
297297
298298 This is free software; you can redistribute it and/or modify it under
299299 the same terms as the Perl 5 programming language system itself.
300300
301301 =cut
302
303
304 __END__
305
306
11
22 # ABSTRACT: Making Moose fast by making your class immutable
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
4747
4848 =head1 COPYRIGHT AND LICENSE
4949
50 This software is copyright (c) 2012 by Infinity Interactive, Inc..
50 This software is copyright (c) 2013 by Infinity Interactive, Inc..
5151
5252 This is free software; you can redistribute it and/or modify it under
5353 the same terms as the Perl 5 programming language system itself.
5454
5555 =cut
56
57
58 __END__
59
60
11
22 # ABSTRACT: Using BUILDARGS and BUILD to hook into object construction
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
128128
129129 =head1 COPYRIGHT AND LICENSE
130130
131 This software is copyright (c) 2012 by Infinity Interactive, Inc..
131 This software is copyright (c) 2013 by Infinity Interactive, Inc..
132132
133133 This is free software; you can redistribute it and/or modify it under
134134 the same terms as the Perl 5 programming language system itself.
135135
136136 =cut
137
138
139 __END__
140
141
11
22 # ABSTRACT: Point and Point3D classes, showing basic attributes and subclassing.
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
437437
438438 =head1 COPYRIGHT AND LICENSE
439439
440 This software is copyright (c) 2012 by Infinity Interactive, Inc..
440 This software is copyright (c) 2013 by Infinity Interactive, Inc..
441441
442442 This is free software; you can redistribute it and/or modify it under
443443 the same terms as the Perl 5 programming language system itself.
444444
445445 =cut
446
447
448 __END__
449
450
11
22 # ABSTRACT: Providing a role for the base object class
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
102102
103103 =head1 COPYRIGHT AND LICENSE
104104
105 This software is copyright (c) 2012 by Infinity Interactive, Inc..
105 This software is copyright (c) 2013 by Infinity Interactive, Inc..
106106
107107 This is free software; you can redistribute it and/or modify it under
108108 the same terms as the Perl 5 programming language system itself.
109109
110110 =cut
111
112
113 __END__
114
115
11
22 # ABSTRACT: Moose extension overview
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 DESCRIPTION
1717
352352
353353 =head1 COPYRIGHT AND LICENSE
354354
355 This software is copyright (c) 2012 by Infinity Interactive, Inc..
355 This software is copyright (c) 2013 by Infinity Interactive, Inc..
356356
357357 This is free software; you can redistribute it and/or modify it under
358358 the same terms as the Perl 5 programming language system itself.
359359
360360 =cut
361
362
363 __END__
364
365
11
22 # ABSTRACT: Acting like Moose.pm and providing sugar Moose-style
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
108108
109109 =head1 COPYRIGHT AND LICENSE
110110
111 This software is copyright (c) 2012 by Infinity Interactive, Inc..
111 This software is copyright (c) 2013 by Infinity Interactive, Inc..
112112
113113 This is free software; you can redistribute it and/or modify it under
114114 the same terms as the Perl 5 programming language system itself.
115115
116116 =cut
117
118
119 __END__
120
121
22 $Moose::Cookbook::Legacy::Debugging_BaseClassReplacement::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Cookbook::Legacy::Debugging_BaseClassReplacement::VERSION = '2.0604';
5 $Moose::Cookbook::Legacy::Debugging_BaseClassReplacement::VERSION = '2.0800';
66 }
77
88 # ABSTRACT: Providing an alternate base object class
99
10
11
12
13
14
10 __END__
1511
1612 =pod
1713
2117
2218 =head1 VERSION
2319
24 version 2.0604
20 version 2.0800
2521
2622 =head1 SYNOPSIS
2723
150146
151147 =head1 COPYRIGHT AND LICENSE
152148
153 This software is copyright (c) 2012 by Infinity Interactive, Inc..
149 This software is copyright (c) 2013 by Infinity Interactive, Inc..
154150
155151 This is free software; you can redistribute it and/or modify it under
156152 the same terms as the Perl 5 programming language system itself.
157153
158154 =cut
159
160
161 __END__
162
22 $Moose::Cookbook::Meta::Labeled_AttributeMetaclass::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Cookbook::Meta::Labeled_AttributeMetaclass::VERSION = '2.0604';
5 $Moose::Cookbook::Meta::Labeled_AttributeMetaclass::VERSION = '2.0800';
66 }
77
88 # ABSTRACT: A meta-attribute, attributes with labels
99
10
10 __END__
1111
1212 =pod
1313
1717
1818 =head1 VERSION
1919
20 version 2.0604
20 version 2.0800
2121
2222 =head1 SYNOPSIS
2323
291291
292292 =head1 COPYRIGHT AND LICENSE
293293
294 This software is copyright (c) 2012 by Infinity Interactive, Inc..
294 This software is copyright (c) 2013 by Infinity Interactive, Inc..
295295
296296 This is free software; you can redistribute it and/or modify it under
297297 the same terms as the Perl 5 programming language system itself.
298298
299299 =cut
300
301
302 __END__
303
304
305
11
22 # ABSTRACT: Adding a "table" attribute to the metaclass
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
8080
8181 =head1 COPYRIGHT AND LICENSE
8282
83 This software is copyright (c) 2012 by Infinity Interactive, Inc..
83 This software is copyright (c) 2013 by Infinity Interactive, Inc..
8484
8585 This is free software; you can redistribute it and/or modify it under
8686 the same terms as the Perl 5 programming language system itself.
8787
8888 =cut
89
90
91 __END__
92
93
11
22 # ABSTRACT: Creating a glob reference meta-instance class
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
261261
262262 =head1 COPYRIGHT AND LICENSE
263263
264 This software is copyright (c) 2012 by Infinity Interactive, Inc..
264 This software is copyright (c) 2013 by Infinity Interactive, Inc..
265265
266266 This is free software; you can redistribute it and/or modify it under
267267 the same terms as the Perl 5 programming language system itself.
268268
269269 =cut
270
271
272 __END__
273
274
11
22 # ABSTRACT: Labels implemented via attribute traits
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
273273
274274 =head1 COPYRIGHT AND LICENSE
275275
276 This software is copyright (c) 2012 by Infinity Interactive, Inc..
276 This software is copyright (c) 2013 by Infinity Interactive, Inc..
277277
278278 This is free software; you can redistribute it and/or modify it under
279279 the same terms as the Perl 5 programming language system itself.
280280
281281 =cut
282
283
284 __END__
285
286
11
22 # ABSTRACT: A method metaclass for marking methods public or private
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
170170
171171 =head1 COPYRIGHT AND LICENSE
172172
173 This software is copyright (c) 2012 by Infinity Interactive, Inc..
173 This software is copyright (c) 2013 by Infinity Interactive, Inc..
174174
175175 This is free software; you can redistribute it and/or modify it under
176176 the same terms as the Perl 5 programming language system itself.
177177
178178 =cut
179
180
181 __END__
182
183
11
22 # ABSTRACT: Adding a "table" attribute as a metaclass trait
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
104104
105105 =head1 COPYRIGHT AND LICENSE
106106
107 This software is copyright (c) 2012 by Infinity Interactive, Inc..
107 This software is copyright (c) 2013 by Infinity Interactive, Inc..
108108
109109 This is free software; you can redistribute it and/or modify it under
110110 the same terms as the Perl 5 programming language system itself.
111111
112112 =cut
113
114
115 __END__
116
117
11
22 # ABSTRACT: Welcome to the meta world (Why Go Meta?)
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SUMMARY
1717
6565
6666 =head1 COPYRIGHT AND LICENSE
6767
68 This software is copyright (c) 2012 by Infinity Interactive, Inc..
68 This software is copyright (c) 2013 by Infinity Interactive, Inc..
6969
7070 This is free software; you can redistribute it and/or modify it under
7171 the same terms as the Perl 5 programming language system itself.
7272
7373 =cut
74
75
76 __END__
77
78
79
80
11
22 # ABSTRACT: Applying a role to an object instance
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
139139
140140 =head1 COPYRIGHT AND LICENSE
141141
142 This software is copyright (c) 2012 by Infinity Interactive, Inc..
142 This software is copyright (c) 2013 by Infinity Interactive, Inc..
143143
144144 This is free software; you can redistribute it and/or modify it under
145145 the same terms as the Perl 5 programming language system itself.
146146
147147 =cut
148
149
150 __END__
151
11
22 # ABSTRACT: Using roles for code reuse
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
327327
328328 =head1 COPYRIGHT AND LICENSE
329329
330 This software is copyright (c) 2012 by Infinity Interactive, Inc..
330 This software is copyright (c) 2013 by Infinity Interactive, Inc..
331331
332332 This is free software; you can redistribute it and/or modify it under
333333 the same terms as the Perl 5 programming language system itself.
334334
335335 =cut
336
337
338 __END__
339
340
11
22 # ABSTRACT: Advanced Role Composition - method exclusion and aliasing
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
178178
179179 =head1 COPYRIGHT AND LICENSE
180180
181 This software is copyright (c) 2012 by Infinity Interactive, Inc..
181 This software is copyright (c) 2013 by Infinity Interactive, Inc..
182182
183183 This is free software; you can redistribute it and/or modify it under
184184 the same terms as the Perl 5 programming language system itself.
185185
186186 =cut
187
188
189 __END__
190
191
11
22 # ABSTRACT: Restricted "keywords" in Moose
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 DESCRIPTION
1717
188188
189189 =head1 COPYRIGHT AND LICENSE
190190
191 This software is copyright (c) 2012 by Infinity Interactive, Inc..
191 This software is copyright (c) 2013 by Infinity Interactive, Inc..
192192
193193 This is free software; you can redistribute it and/or modify it under
194194 the same terms as the Perl 5 programming language system itself.
195195
196196 =cut
197
198
199 __END__
200
11
22 # ABSTRACT: Snippets of code for using Types and Type Constraints
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SYNOPSIS
1717
7878
7979 =head1 COPYRIGHT AND LICENSE
8080
81 This software is copyright (c) 2012 by Infinity Interactive, Inc..
81 This software is copyright (c) 2013 by Infinity Interactive, Inc..
8282
8383 This is free software; you can redistribute it and/or modify it under
8484 the same terms as the Perl 5 programming language system itself.
8585
8686 =cut
87
88
89 __END__
90
91
11
22 # ABSTRACT: Expanded into Moose::Manual::BestPractices, so go read that
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 DESCRIPTION
1717
2525
2626 =head1 COPYRIGHT AND LICENSE
2727
28 This software is copyright (c) 2012 by Infinity Interactive, Inc..
28 This software is copyright (c) 2013 by Infinity Interactive, Inc..
2929
3030 This is free software; you can redistribute it and/or modify it under
3131 the same terms as the Perl 5 programming language system itself.
3232
3333 =cut
34
35
36 __END__
37
11
22 # ABSTRACT: How to cook a Moose
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 DESCRIPTION
1717
237237
238238 =head1 COPYRIGHT AND LICENSE
239239
240 This software is copyright (c) 2012 by Infinity Interactive, Inc..
240 This software is copyright (c) 2013 by Infinity Interactive, Inc..
241241
242242 This is free software; you can redistribute it and/or modify it under
243243 the same terms as the Perl 5 programming language system itself.
244244
245245 =cut
246
247
248 __END__
249
250
22 $Moose::Deprecated::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Deprecated::VERSION = '2.0604';
5 $Moose::Deprecated::VERSION = '2.0800';
66 }
77
88 use strict;
2121
2222 # ABSTRACT: Manages deprecation warnings for Moose
2323
24
24 __END__
2525
2626 =pod
2727
3131
3232 =head1 VERSION
3333
34 version 2.0604
34 version 2.0800
3535
3636 =head1 DESCRIPTION
3737
5252
5353 =head1 COPYRIGHT AND LICENSE
5454
55 This software is copyright (c) 2012 by Infinity Interactive, Inc..
55 This software is copyright (c) 2013 by Infinity Interactive, Inc..
5656
5757 This is free software; you can redistribute it and/or modify it under
5858 the same terms as the Perl 5 programming language system itself.
5959
6060 =cut
61
62
63 __END__
64
22 $Moose::Error::Confess::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Error::Confess::VERSION = '2.0604';
5 $Moose::Error::Confess::VERSION = '2.0800';
66 }
77
88 use strict;
2929
3030 # ABSTRACT: Prefer C<confess>
3131
32
32 __END__
3333
3434 =pod
3535
3939
4040 =head1 VERSION
4141
42 version 2.0604
42 version 2.0800
4343
4444 =head1 SYNOPSIS
4545
6262
6363 =head1 COPYRIGHT AND LICENSE
6464
65 This software is copyright (c) 2012 by Infinity Interactive, Inc..
65 This software is copyright (c) 2013 by Infinity Interactive, Inc..
6666
6767 This is free software; you can redistribute it and/or modify it under
6868 the same terms as the Perl 5 programming language system itself.
6969
7070 =cut
71
72
73 __END__
74
75
76
77
22 $Moose::Error::Croak::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Error::Croak::VERSION = '2.0604';
5 $Moose::Error::Croak::VERSION = '2.0800';
66 }
77
88 use strict;
2929
3030 # ABSTRACT: Prefer C<croak>
3131
32
32 __END__
3333
3434 =pod
3535
3939
4040 =head1 VERSION
4141
42 version 2.0604
42 version 2.0800
4343
4444 =head1 SYNOPSIS
4545
7272
7373 =head1 COPYRIGHT AND LICENSE
7474
75 This software is copyright (c) 2012 by Infinity Interactive, Inc..
75 This software is copyright (c) 2013 by Infinity Interactive, Inc..
7676
7777 This is free software; you can redistribute it and/or modify it under
7878 the same terms as the Perl 5 programming language system itself.
7979
8080 =cut
81
82
83 __END__
84
85
86
22 $Moose::Error::Default::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Error::Default::VERSION = '2.0604';
5 $Moose::Error::Default::VERSION = '2.0800';
66 }
77
88 use strict;
5454
5555 # ABSTRACT: L<Carp> based error generation for Moose.
5656
57
57 __END__
5858
5959 =pod
6060
6464
6565 =head1 VERSION
6666
67 version 2.0604
67 version 2.0800
6868
6969 =head1 DESCRIPTION
7070
9999
100100 =head1 COPYRIGHT AND LICENSE
101101
102 This software is copyright (c) 2012 by Infinity Interactive, Inc..
102 This software is copyright (c) 2013 by Infinity Interactive, Inc..
103103
104104 This is free software; you can redistribute it and/or modify it under
105105 the same terms as the Perl 5 programming language system itself.
106106
107107 =cut
108
109
110 __END__
111
112
113
22 $Moose::Exporter::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Exporter::VERSION = '2.0604';
5 $Moose::Exporter::VERSION = '2.0800';
66 }
77
88 use strict;
138138 );
139139 }
140140
141 {
142 our %_seen;
143
144 sub _follow_also {
145 my $class = shift;
146 my $exporting_package = shift;
147
148 local %_seen = ( $exporting_package => 1 );
149
150 return uniq( _follow_also_real($exporting_package) );
151 }
152
153 sub _follow_also_real {
154 my $exporting_package = shift;
155
156 if ( !exists $EXPORT_SPEC{$exporting_package} ) {
157 my $loaded = is_class_loaded($exporting_package);
158
159 die "Package in also ($exporting_package) does not seem to "
160 . "use Moose::Exporter"
161 . ( $loaded ? "" : " (is it loaded?)" );
162 }
163
164 my $also = $EXPORT_SPEC{$exporting_package}{also};
165
166 return unless defined $also;
167
168 my @also = ref $also ? @{$also} : $also;
169
170 for my $package (@also) {
141 sub _follow_also {
142 my $class = shift;
143 my $exporting_package = shift;
144
145 _die_if_cycle_found_in_also_list_for_package($exporting_package);
146
147 return uniq( _follow_also_real($exporting_package) );
148 }
149
150 sub _follow_also_real {
151 my $exporting_package = shift;
152 my @also = _also_list_for_package($exporting_package);
153
154 return map { $_, _follow_also_real($_) } @also;
155 }
156
157 sub _also_list_for_package {
158 my $package = shift;
159
160 if ( !exists $EXPORT_SPEC{$package} ) {
161 my $loaded = is_class_loaded($package);
162
163 die "Package in also ($package) does not seem to "
164 . "use Moose::Exporter"
165 . ( $loaded ? "" : " (is it loaded?)" );
166 }
167
168 my $also = $EXPORT_SPEC{$package}{also};
169
170 return unless defined $also;
171
172 return ref $also ? @$also : $also;
173 }
174
175 # this is no Tarjan algorithm, but for the list sizes expected,
176 # brute force will probably be fine (and more maintainable)
177 sub _die_if_cycle_found_in_also_list_for_package {
178 my $package = shift;
179 _die_if_also_list_cycles_back_to_existing_stack(
180 [ _also_list_for_package($package) ],
181 [$package],
182 );
183 }
184
185 sub _die_if_also_list_cycles_back_to_existing_stack {
186 my ( $also_list, $existing_stack ) = @_;
187
188 return unless @$also_list && @$existing_stack;
189
190 for my $also_member (@$also_list) {
191 for my $stack_member (@$existing_stack) {
192 next unless $also_member eq $stack_member;
193
171194 die
172 "Circular reference in 'also' parameter to Moose::Exporter between $exporting_package and $package"
173 if $_seen{$package};
174
175 $_seen{$package} = 1;
176 }
177
178 return map { $_, _follow_also_real($_) } @also;
195 "Circular reference in 'also' parameter to Moose::Exporter between "
196 . join(
197 ', ',
198 @$existing_stack
199 ) . " and $also_member";
200 }
201
202 _die_if_also_list_cycles_back_to_existing_stack(
203 [ _also_list_for_package($also_member) ],
204 [ $also_member, @$existing_stack ],
205 );
179206 }
180207 }
181208
620647
621648 my $meta = $meta_lookup->($class);
622649
623 my $type = ( split /::/, ref $meta )[-1]
624 or Moose->throw_error(
625 'Cannot determine metaclass type for trait application . Meta isa '
626 . ref $meta );
650 my $type = $meta->isa('Moose::Meta::Role') ? 'Trait'
651 : $meta->isa('Class::MOP::Class') ? 'Class'
652 : Moose->throw_error('Cannot determine metaclass type for '
653 . 'trait application. Meta isa '
654 . ref $meta);
627655
628656 my @resolved_traits = map {
629657 ref $_
758786
759787 # ABSTRACT: make an import() and unimport() just like Moose.pm
760788
761
789 __END__
762790
763791 =pod
764792
768796
769797 =head1 VERSION
770798
771 version 2.0604
799 version 2.0800
772800
773801 =head1 SYNOPSIS
774802
9721000
9731001 =head1 COPYRIGHT AND LICENSE
9741002
975 This software is copyright (c) 2012 by Infinity Interactive, Inc..
1003 This software is copyright (c) 2013 by Infinity Interactive, Inc..
9761004
9771005 This is free software; you can redistribute it and/or modify it under
9781006 the same terms as the Perl 5 programming language system itself.
9791007
9801008 =cut
981
982
983 __END__
984
11
22 # ABSTRACT: Expanded into Moose::Manual, so go read that
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 DESCRIPTION
1717
2525
2626 =head1 COPYRIGHT AND LICENSE
2727
28 This software is copyright (c) 2012 by Infinity Interactive, Inc..
28 This software is copyright (c) 2013 by Infinity Interactive, Inc..
2929
3030 This is free software; you can redistribute it and/or modify it under
3131 the same terms as the Perl 5 programming language system itself.
3232
3333 =cut
34
35
36 __END__
37
11
22 # ABSTRACT: Object attributes with Moose
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 INTRODUCTION
1717
638638
639639 =head1 COPYRIGHT AND LICENSE
640640
641 This software is copyright (c) 2012 by Infinity Interactive, Inc..
641 This software is copyright (c) 2013 by Infinity Interactive, Inc..
642642
643643 This is free software; you can redistribute it and/or modify it under
644644 the same terms as the Perl 5 programming language system itself.
645645
646646 =cut
647
648
649 __END__
650
11
22 # ABSTRACT: Get the most out of Moose
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 RECOMMENDATIONS
1717
240240
241241 =head1 COPYRIGHT AND LICENSE
242242
243 This software is copyright (c) 2012 by Infinity Interactive, Inc..
243 This software is copyright (c) 2013 by Infinity Interactive, Inc..
244244
245245 This is free software; you can redistribute it and/or modify it under
246246 the same terms as the Perl 5 programming language system itself.
247247
248248 =cut
249
250
251 __END__
252
11
22 # ABSTRACT: Making your classes use Moose (and subclassing)
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 USING MOOSE
1717
150150
151151 =head1 COPYRIGHT AND LICENSE
152152
153 This software is copyright (c) 2012 by Infinity Interactive, Inc..
153 This software is copyright (c) 2013 by Infinity Interactive, Inc..
154154
155155 This is free software; you can redistribute it and/or modify it under
156156 the same terms as the Perl 5 programming language system itself.
157157
158158 =cut
159
160
161 __END__
162
11
22 # ABSTRACT: Moose OO concepts
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 MOOSE CONCEPTS (VS "OLD SCHOOL" Perl)
1717
387387
388388 =head1 COPYRIGHT AND LICENSE
389389
390 This software is copyright (c) 2012 by Infinity Interactive, Inc..
390 This software is copyright (c) 2013 by Infinity Interactive, Inc..
391391
392392 This is free software; you can redistribute it and/or modify it under
393393 the same terms as the Perl 5 programming language system itself.
394394
395395 =cut
396
397
398 __END__
399
11
22 # ABSTRACT: Object construction (and destruction) with Moose
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 WHERE'S THE CONSTRUCTOR?
1717
171171
172172 =head1 COPYRIGHT AND LICENSE
173173
174 This software is copyright (c) 2012 by Infinity Interactive, Inc..
174 This software is copyright (c) 2013 by Infinity Interactive, Inc..
175175
176176 This is free software; you can redistribute it and/or modify it under
177177 the same terms as the Perl 5 programming language system itself.
178178
179179 =cut
180
181
182 __END__
183
11
22 # ABSTRACT: How to get involved in Moose
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 GETTING INVOLVED
1717
389389
390390 =head1 COPYRIGHT AND LICENSE
391391
392 This software is copyright (c) 2012 by Infinity Interactive, Inc..
392 This software is copyright (c) 2013 by Infinity Interactive, Inc..
393393
394394 This is free software; you can redistribute it and/or modify it under
395395 the same terms as the Perl 5 programming language system itself.
396396
397397 =cut
398
399
400 __END__
401
11
22 # ABSTRACT: Attribute delegation
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 WHAT IS DELEGATION?
1717
191191
192192 =head1 COPYRIGHT AND LICENSE
193193
194 This software is copyright (c) 2012 by Infinity Interactive, Inc..
194 This software is copyright (c) 2013 by Infinity Interactive, Inc..
195195
196196 This is free software; you can redistribute it and/or modify it under
197197 the same terms as the Perl 5 programming language system itself.
198198
199199 =cut
200
201
202 __END__
203
11
22 # ABSTRACT: Important Changes in Moose
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 DESCRIPTION
1717
10531053
10541054 =head1 COPYRIGHT AND LICENSE
10551055
1056 This software is copyright (c) 2012 by Infinity Interactive, Inc..
1056 This software is copyright (c) 2013 by Infinity Interactive, Inc..
10571057
10581058 This is free software; you can redistribute it and/or modify it under
10591059 the same terms as the Perl 5 programming language system itself.
10601060
10611061 =cut
1062
1063
1064 __END__
1065
11
22 # ABSTRACT: Frequently asked questions about Moose
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 FREQUENTLY ASKED QUESTIONS
1717
418418
419419 =head1 COPYRIGHT AND LICENSE
420420
421 This software is copyright (c) 2012 by Infinity Interactive, Inc..
421 This software is copyright (c) 2013 by Infinity Interactive, Inc..
422422
423423 This is free software; you can redistribute it and/or modify it under
424424 the same terms as the Perl 5 programming language system itself.
425425
426426 =cut
427
428
429 __END__
430
431
11
22 # ABSTRACT: The Moose (and Class::MOP) meta API
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 INTRODUCTION
1717
162162
163163 =head1 COPYRIGHT AND LICENSE
164164
165 This software is copyright (c) 2012 by Infinity Interactive, Inc..
165 This software is copyright (c) 2013 by Infinity Interactive, Inc..
166166
167167 This is free software; you can redistribute it and/or modify it under
168168 the same terms as the Perl 5 programming language system itself.
169169
170170 =cut
171
172
173 __END__
174
11
22 # ABSTRACT: Moose's method modifiers
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 WHAT IS A METHOD MODIFIER?
1717
328328
329329 =head1 COPYRIGHT AND LICENSE
330330
331 This software is copyright (c) 2012 by Infinity Interactive, Inc..
331 This software is copyright (c) 2013 by Infinity Interactive, Inc..
332332
333333 This is free software; you can redistribute it and/or modify it under
334334 the same terms as the Perl 5 programming language system itself.
335335
336336 =cut
337
338
339 __END__
340
341
11
22 # ABSTRACT: Recommended Moose extensions
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 MooseX?
1717
272272
273273 =head1 COPYRIGHT AND LICENSE
274274
275 This software is copyright (c) 2012 by Infinity Interactive, Inc..
275 This software is copyright (c) 2013 by Infinity Interactive, Inc..
276276
277277 This is free software; you can redistribute it and/or modify it under
278278 the same terms as the Perl 5 programming language system itself.
279279
280280 =cut
281
282
283 __END__
284
11
22 # ABSTRACT: Roles, an alternative to deep hierarchies and base classes
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 WHAT IS A ROLE?
1717
339339
340340 =head1 COPYRIGHT AND LICENSE
341341
342 This software is copyright (c) 2012 by Infinity Interactive, Inc..
342 This software is copyright (c) 2013 by Infinity Interactive, Inc..
343343
344344 This is free software; you can redistribute it and/or modify it under
345345 the same terms as the Perl 5 programming language system itself.
346346
347347 =cut
348
349
350 __END__
351
11
22 # ABSTRACT: Policies regarding support, releases, and compatibility.
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 SUPPORT POLICY
1717
151151
152152 =head1 COPYRIGHT AND LICENSE
153153
154 This software is copyright (c) 2012 by Infinity Interactive, Inc..
154 This software is copyright (c) 2013 by Infinity Interactive, Inc..
155155
156156 This is free software; you can redistribute it and/or modify it under
157157 the same terms as the Perl 5 programming language system itself.
158158
159159 =cut
160
161
162 __END__
163
11
22 # ABSTRACT: Moose's type system
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 TYPES IN PERL?
1717
4141 The basic Moose type hierarchy looks like this
4242
4343 Any
44 Item
45 Bool
46 Maybe[`a]
47 Undef
48 Defined
49 Value
50 Str
51 Num
52 Int
53 ClassName
54 RoleName
55 Ref
56 ScalarRef[`a]
57 ArrayRef[`a]
58 HashRef[`a]
59 CodeRef
60 RegexpRef
61 GlobRef
44 Item
45 Bool
46 Maybe[`a]
47 Undef
48 Defined
49 Value
50 Str
51 Num
52 Int
53 ClassName
54 RoleName
55 Ref
56 ScalarRef[`a]
57 ArrayRef[`a]
58 HashRef[`a]
59 CodeRef
60 RegexpRef
61 GlobRef
6262 FileHandle
63 Object
63 Object
6464
6565 In practice, the only difference between C<Any> and C<Item> is
6666 conceptual. C<Item> is used as the top-level type in the hierarchy.
437437
438438 =head1 COPYRIGHT AND LICENSE
439439
440 This software is copyright (c) 2012 by Infinity Interactive, Inc..
440 This software is copyright (c) 2013 by Infinity Interactive, Inc..
441441
442442 This is free software; you can redistribute it and/or modify it under
443443 the same terms as the Perl 5 programming language system itself.
444444
445445 =cut
446
447
448 __END__
449
11
22 # ABSTRACT: Moose idioms in plain old Perl 5 without the sugar
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 DESCRIPTION
1717
334334
335335 =head1 COPYRIGHT AND LICENSE
336336
337 This software is copyright (c) 2012 by Infinity Interactive, Inc..
337 This software is copyright (c) 2013 by Infinity Interactive, Inc..
338338
339339 This is free software; you can redistribute it and/or modify it under
340340 the same terms as the Perl 5 programming language system itself.
341341
342342 =cut
343
344
345 __END__
346
11
22 # ABSTRACT: What is Moose, and how do I use it?
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 WHAT IS MOOSE?
1717
263263
264264 =head1 COPYRIGHT AND LICENSE
265265
266 This software is copyright (c) 2012 by Infinity Interactive, Inc..
266 This software is copyright (c) 2013 by Infinity Interactive, Inc..
267267
268268 This is free software; you can redistribute it and/or modify it under
269269 the same terms as the Perl 5 programming language system itself.
270270
271271 =cut
272
273
274 __END__
275
33 $Moose::Meta::Attribute::Native::Trait::Array::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::Attribute::Native::Trait::Array::VERSION = '2.0604';
6 $Moose::Meta::Attribute::Native::Trait::Array::VERSION = '2.0800';
77 }
88 use Moose::Role;
99
1717
1818 # ABSTRACT: Helper trait for ArrayRef attributes
1919
20
20 __END__
2121
2222 =pod
2323
2727
2828 =head1 VERSION
2929
30 version 2.0604
30 version 2.0800
3131
3232 =head1 SYNOPSIS
3333
307307 =item * B<natatime($n, $code)>
308308
309309 This method returns an iterator which, on each call, returns C<$n> more items
310 from the array, in order, like C<natatime> from L<List::MoreUtils>. A coderef
311 can optionally be provided; it will be called on each group of C<$n> elements
312 in the array.
310 from the array, in order, like C<natatime> from L<List::MoreUtils>.
311
312 If you pass a coderef as the second argument, then this code ref will be
313 called on each group of C<$n> elements in the array until the array is
314 exhausted.
313315
314316 This method accepts one or two arguments.
315317
332334
333335 =head1 COPYRIGHT AND LICENSE
334336
335 This software is copyright (c) 2012 by Infinity Interactive, Inc..
337 This software is copyright (c) 2013 by Infinity Interactive, Inc..
336338
337339 This is free software; you can redistribute it and/or modify it under
338340 the same terms as the Perl 5 programming language system itself.
339341
340342 =cut
341
342
343 __END__
344
22 $Moose::Meta::Attribute::Native::Trait::Bool::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Attribute::Native::Trait::Bool::VERSION = '2.0604';
5 $Moose::Meta::Attribute::Native::Trait::Bool::VERSION = '2.0800';
66 }
77 use Moose::Role;
88
1717
1818 # ABSTRACT: Helper trait for Bool attributes
1919
20
20 __END__
2121
2222 =pod
2323
2727
2828 =head1 VERSION
2929
30 version 2.0604
30 version 2.0800
3131
3232 =head1 SYNOPSIS
3333
9999
100100 =head1 COPYRIGHT AND LICENSE
101101
102 This software is copyright (c) 2012 by Infinity Interactive, Inc..
102 This software is copyright (c) 2013 by Infinity Interactive, Inc..
103103
104104 This is free software; you can redistribute it and/or modify it under
105105 the same terms as the Perl 5 programming language system itself.
106106
107107 =cut
108
109
110 __END__
111
22 $Moose::Meta::Attribute::Native::Trait::Code::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Attribute::Native::Trait::Code::VERSION = '2.0604';
5 $Moose::Meta::Attribute::Native::Trait::Code::VERSION = '2.0800';
66 }
77 use Moose::Role;
88
1616
1717 # ABSTRACT: Helper trait for CodeRef attributes
1818
19
19 __END__
2020
2121 =pod
2222
2626
2727 =head1 VERSION
2828
29 version 2.0604
29 version 2.0800
3030
3131 =head1 SYNOPSIS
3232
8181
8282 =head1 COPYRIGHT AND LICENSE
8383
84 This software is copyright (c) 2012 by Infinity Interactive, Inc..
84 This software is copyright (c) 2013 by Infinity Interactive, Inc..
8585
8686 This is free software; you can redistribute it and/or modify it under
8787 the same terms as the Perl 5 programming language system itself.
8888
8989 =cut
90
91
92 __END__
93
33 $Moose::Meta::Attribute::Native::Trait::Counter::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::Attribute::Native::Trait::Counter::VERSION = '2.0604';
6 $Moose::Meta::Attribute::Native::Trait::Counter::VERSION = '2.0800';
77 }
88 use Moose::Role;
99
10 with 'Moose::Meta::Attribute::Native::Trait' =>
11 { -excludes => ['_root_types'] };
10 with 'Moose::Meta::Attribute::Native::Trait';
1211
1312 sub _default_default { 0 }
1413 sub _default_is { 'ro' }
2120
2221 # ABSTRACT: Helper trait for Int attributes which represent counters
2322
24
23 __END__
2524
2625 =pod
2726
3130
3231 =head1 VERSION
3332
34 version 2.0604
33 version 2.0800
3534
3635 =head1 SYNOPSIS
3736
113112
114113 =head1 COPYRIGHT AND LICENSE
115114
116 This software is copyright (c) 2012 by Infinity Interactive, Inc..
115 This software is copyright (c) 2013 by Infinity Interactive, Inc..
117116
118117 This is free software; you can redistribute it and/or modify it under
119118 the same terms as the Perl 5 programming language system itself.
120119
121120 =cut
122
123
124 __END__
125
33 $Moose::Meta::Attribute::Native::Trait::Hash::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::Attribute::Native::Trait::Hash::VERSION = '2.0604';
6 $Moose::Meta::Attribute::Native::Trait::Hash::VERSION = '2.0800';
77 }
88 use Moose::Role;
99
1717
1818 # ABSTRACT: Helper trait for HashRef attributes
1919
20
20 __END__
2121
2222 =pod
2323
2727
2828 =head1 VERSION
2929
30 version 2.0604
30 version 2.0800
3131
3232 =head1 SYNOPSIS
3333
179179
180180 =head1 COPYRIGHT AND LICENSE
181181
182 This software is copyright (c) 2012 by Infinity Interactive, Inc..
182 This software is copyright (c) 2013 by Infinity Interactive, Inc..
183183
184184 This is free software; you can redistribute it and/or modify it under
185185 the same terms as the Perl 5 programming language system itself.
186186
187187 =cut
188
189
190 __END__
191
22 $Moose::Meta::Attribute::Native::Trait::Number::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Attribute::Native::Trait::Number::VERSION = '2.0604';
5 $Moose::Meta::Attribute::Native::Trait::Number::VERSION = '2.0800';
66 }
77 use Moose::Role;
88
1616
1717 # ABSTRACT: Helper trait for Num attributes
1818
19
19 __END__
2020
2121 =pod
2222
2626
2727 =head1 VERSION
2828
29 version 2.0604
29 version 2.0800
3030
3131 =head1 SYNOPSIS
3232
107107
108108 =head1 COPYRIGHT AND LICENSE
109109
110 This software is copyright (c) 2012 by Infinity Interactive, Inc..
110 This software is copyright (c) 2013 by Infinity Interactive, Inc..
111111
112112 This is free software; you can redistribute it and/or modify it under
113113 the same terms as the Perl 5 programming language system itself.
114114
115115 =cut
116
117
118 __END__
119
22 $Moose::Meta::Attribute::Native::Trait::String::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Attribute::Native::Trait::String::VERSION = '2.0604';
5 $Moose::Meta::Attribute::Native::Trait::String::VERSION = '2.0800';
66 }
77 use Moose::Role;
88
1818
1919 # ABSTRACT: Helper trait for Str attributes
2020
21
21 __END__
2222
2323 =pod
2424
2828
2929 =head1 VERSION
3030
31 version 2.0604
31 version 2.0800
3232
3333 =head1 SYNOPSIS
3434
141141
142142 =head1 COPYRIGHT AND LICENSE
143143
144 This software is copyright (c) 2012 by Infinity Interactive, Inc..
144 This software is copyright (c) 2013 by Infinity Interactive, Inc..
145145
146146 This is free software; you can redistribute it and/or modify it under
147147 the same terms as the Perl 5 programming language system itself.
148148
149149 =cut
150
151
152 __END__
153
33 $Moose::Meta::Attribute::Native::Trait::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::Attribute::Native::Trait::VERSION = '2.0604';
6 $Moose::Meta::Attribute::Native::Trait::VERSION = '2.0800';
77 }
88 use Moose::Role;
99
215215
216216 # ABSTRACT: Shared role for native delegation traits
217217
218
218 __END__
219219
220220 =pod
221221
225225
226226 =head1 VERSION
227227
228 version 2.0604
228 version 2.0800
229229
230230 =head1 BUGS
231231
242242
243243 =head1 COPYRIGHT AND LICENSE
244244
245 This software is copyright (c) 2012 by Infinity Interactive, Inc..
245 This software is copyright (c) 2013 by Infinity Interactive, Inc..
246246
247247 This is free software; you can redistribute it and/or modify it under
248248 the same terms as the Perl 5 programming language system itself.
249249
250250 =cut
251
252
253 __END__
254
22 $Moose::Meta::Attribute::Native::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Attribute::Native::VERSION = '2.0604';
5 $Moose::Meta::Attribute::Native::VERSION = '2.0800';
66 }
77
88 use Class::Load qw(load_class);
3333
3434 # ABSTRACT: Delegate to native Perl types
3535
36
36 __END__
3737
3838 =pod
3939
4343
4444 =head1 VERSION
4545
46 version 2.0604
46 version 2.0800
4747
4848 =head1 SYNOPSIS
4949
260260
261261 =head1 COPYRIGHT AND LICENSE
262262
263 This software is copyright (c) 2012 by Infinity Interactive, Inc..
263 This software is copyright (c) 2013 by Infinity Interactive, Inc..
264264
265265 This is free software; you can redistribute it and/or modify it under
266266 the same terms as the Perl 5 programming language system itself.
267267
268268 =cut
269
270
271 __END__
272
33 $Moose::Meta::Attribute::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::Attribute::VERSION = '2.0604';
6 $Moose::Meta::Attribute::VERSION = '2.0800';
77 }
88
99 use strict;
9999
100100 if (@bad)
101101 {
102 Carp::cluck "Found unknown argument(s) passed to '$name' attribute constructor in '$class': @bad";
102 my $s = @bad > 1 ? 's' : '';
103 my $list = join "', '", @bad;
104
105 my $package = $options{definition_context}{package};
106 my $context = $options{definition_context}{context}
107 || 'attribute constructor';
108 my $type = $options{definition_context}{type} || 'class';
109
110 my $location = '';
111 if (defined($package)) {
112 $location = " in ";
113 $location .= "$type " if $type;
114 $location .= $package;
115 }
116
117 Carp::cluck "Found unknown argument$s '$list' in the $context for '$name'$location";
103118 }
104119
105120 return $class->SUPER::new($name, %options);
12821297 $Moose::Meta::Attribute::Custom::Moose::AUTHORITY = 'cpan:STEVAN';
12831298 }
12841299 {
1285 $Moose::Meta::Attribute::Custom::Moose::VERSION = '2.0604';
1300 $Moose::Meta::Attribute::Custom::Moose::VERSION = '2.0800';
12861301 }
12871302 sub register_implementation { 'Moose::Meta::Attribute' }
12881303
12901305
12911306 # ABSTRACT: The Moose attribute metaclass
12921307
1293
1308 __END__
12941309
12951310 =pod
12961311
13001315
13011316 =head1 VERSION
13021317
1303 version 2.0604
1318 version 2.0800
13041319
13051320 =head1 DESCRIPTION
13061321
13251340
13261341 =over 4
13271342
1328 =item B<< Moose::Meta::Attribute->new(%options) >>
1343 =item B<< Moose::Meta::Attribute->new($name, %options) >>
13291344
13301345 This method overrides the L<Class::MOP::Attribute> constructor.
13311346
16851700
16861701 =head1 COPYRIGHT AND LICENSE
16871702
1688 This software is copyright (c) 2012 by Infinity Interactive, Inc..
1703 This software is copyright (c) 2013 by Infinity Interactive, Inc..
16891704
16901705 This is free software; you can redistribute it and/or modify it under
16911706 the same terms as the Perl 5 programming language system itself.
16921707
16931708 =cut
1694
1695
1696 __END__
1697
22 $Moose::Meta::Class::Immutable::Trait::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Class::Immutable::Trait::VERSION = '2.0604';
5 $Moose::Meta::Class::Immutable::Trait::VERSION = '2.0800';
66 }
77
88 use strict;
4646
4747 # ABSTRACT: Implements immutability for metaclass objects
4848
49
49 __END__
5050
5151 =pod
5252
5656
5757 =head1 VERSION
5858
59 version 2.0604
59 version 2.0800
6060
6161 =head1 DESCRIPTION
6262
7373
7474 =head1 COPYRIGHT AND LICENSE
7575
76 This software is copyright (c) 2012 by Infinity Interactive, Inc..
76 This software is copyright (c) 2013 by Infinity Interactive, Inc..
7777
7878 This is free software; you can redistribute it and/or modify it under
7979 the same terms as the Perl 5 programming language system itself.
8080
8181 =cut
82
83
84 __END__
85
86
33 $Moose::Meta::Class::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::Class::VERSION = '2.0604';
6 $Moose::Meta::Class::VERSION = '2.0800';
77 }
88
99 use strict;
852852
853853 # ABSTRACT: The Moose metaclass
854854
855
855 __END__
856856
857857 =pod
858858
862862
863863 =head1 VERSION
864864
865 version 2.0604
865 version 2.0800
866866
867867 =head1 DESCRIPTION
868868
10191019
10201020 =head1 COPYRIGHT AND LICENSE
10211021
1022 This software is copyright (c) 2012 by Infinity Interactive, Inc..
1022 This software is copyright (c) 2013 by Infinity Interactive, Inc..
10231023
10241024 This is free software; you can redistribute it and/or modify it under
10251025 the same terms as the Perl 5 programming language system itself.
10261026
10271027 =cut
1028
1029
1030 __END__
1031
1032
33 $Moose::Meta::Instance::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::Instance::VERSION = '2.0604';
6 $Moose::Meta::Instance::VERSION = '2.0800';
77 }
88
99 use strict;
1919
2020 # ABSTRACT: The Moose Instance metaclass
2121
22
22 __END__
2323
2424 =pod
2525
2929
3030 =head1 VERSION
3131
32 version 2.0604
32 version 2.0800
3333
3434 =head1 SYNOPSIS
3535
6262
6363 =head1 COPYRIGHT AND LICENSE
6464
65 This software is copyright (c) 2012 by Infinity Interactive, Inc..
65 This software is copyright (c) 2013 by Infinity Interactive, Inc..
6666
6767 This is free software; you can redistribute it and/or modify it under
6868 the same terms as the Perl 5 programming language system itself.
6969
7070 =cut
71
72
73 __END__
74
22 $Moose::Meta::Method::Accessor::Native::Array::Writer::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::Writer::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::Writer::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => ['_inline_coerce_new_values'],
15 },
16 'Moose::Meta::Method::Accessor::Native::Array',
17 'Moose::Meta::Method::Accessor::Native::Collection';
13 with 'Moose::Meta::Method::Accessor::Native::Writer',
14 'Moose::Meta::Method::Accessor::Native::Array',
15 'Moose::Meta::Method::Accessor::Native::Collection';
16
17 sub _inline_coerce_new_values {
18 my $self = shift;
19 $self->Moose::Meta::Method::Accessor::Native::Collection::_inline_coerce_new_values(@_);
20 }
1821
1922 sub _new_members { '@_' }
2023
22 $Moose::Meta::Method::Accessor::Native::Array::accessor::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::accessor::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::accessor::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Array::set' => {
14 -excludes => [
15 qw( _generate_method
16 _minimum_arguments
17 _maximum_arguments
18 _inline_process_arguments
19 _inline_check_arguments
20 _return_value)
21 ]
22 },
23 'Moose::Meta::Method::Accessor::Native::Array::get' => {
24 -excludes => [
25 qw(
26 _generate_method
27 _minimum_arguments
28 _maximum_arguments
29 )
30 ]
31 };
13 with 'Moose::Meta::Method::Accessor::Native::Array::set',
14 'Moose::Meta::Method::Accessor::Native::Array::get';
15
16 sub _inline_process_arguments {
17 my $self = shift;
18 $self->Moose::Meta::Method::Accessor::Native::Array::get::_inline_process_arguments(@_);
19 }
20
21 sub _inline_check_arguments {
22 my $self = shift;
23 $self->Moose::Meta::Method::Accessor::Native::Array::get::_inline_check_arguments(@_);
24 }
25
26 sub _return_value {
27 my $self = shift;
28 $self->Moose::Meta::Method::Accessor::Native::Array::get::_return_value(@_);
29 }
3230
3331 sub _generate_method {
3432 my $self = shift;
22 $Moose::Meta::Method::Accessor::Native::Array::clear::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::clear::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::clear::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Array::Writer' => {
14 -excludes => [
15 qw(
16 _maximum_arguments
17 _inline_optimized_set_new_value
18 _return_value
19 )
20 ]
21 };
13 with 'Moose::Meta::Method::Accessor::Native::Array::Writer';
2214
2315 sub _maximum_arguments { 0 }
2416
22 $Moose::Meta::Method::Accessor::Native::Array::count::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::count::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::count::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Reader' =>
14 { -excludes => ['_maximum_arguments'] };
13 with 'Moose::Meta::Method::Accessor::Native::Reader';
1514
1615 sub _maximum_arguments { 0 }
1716
22 $Moose::Meta::Method::Accessor::Native::Array::delete::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::delete::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::delete::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Array::Writer' => {
14 -excludes => [
15 qw(
16 _minimum_arguments
17 _maximum_arguments
18 _inline_check_arguments
19 _inline_optimized_set_new_value
20 _return_value
21 )
22 ],
23 };
13 with 'Moose::Meta::Method::Accessor::Native::Array::Writer';
2414
2515 sub _minimum_arguments { 1 }
2616
22 $Moose::Meta::Method::Accessor::Native::Array::elements::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::elements::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::elements::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Reader' =>
14 { -excludes => ['_maximum_arguments'] };
13 with 'Moose::Meta::Method::Accessor::Native::Reader';
1514
1615 sub _maximum_arguments { 0 }
1716
22 $Moose::Meta::Method::Accessor::Native::Array::first::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::first::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::first::VERSION = '2.0800';
66 }
77
88 use strict;
1313
1414 use Moose::Role;
1515
16 with 'Moose::Meta::Method::Accessor::Native::Reader' => {
17 -excludes => [
18 qw(
19 _minimum_arguments
20 _maximum_arguments
21 _inline_check_arguments
22 )
23 ]
24 };
16 with 'Moose::Meta::Method::Accessor::Native::Reader';
2517
2618 sub _minimum_arguments { 1 }
2719
22 $Moose::Meta::Method::Accessor::Native::Array::first_index::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::first_index::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::first_index::VERSION = '2.0800';
66 }
77
88 use strict;
1313
1414 use Moose::Role;
1515
16 with 'Moose::Meta::Method::Accessor::Native::Reader' => {
17 -excludes => [
18 qw(
19 _minimum_arguments
20 _maximum_arguments
21 _inline_check_arguments
22 )
23 ]
24 };
16 with 'Moose::Meta::Method::Accessor::Native::Reader';
2517
2618 sub _minimum_arguments { 1 }
2719
22 $Moose::Meta::Method::Accessor::Native::Array::get::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::get::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::get::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Reader' => {
16 -excludes => [
17 qw(
18 _minimum_arguments
19 _maximum_arguments
20 _inline_check_arguments
21 )
22 ],
23 },
24 'Moose::Meta::Method::Accessor::Native::Array';
15 with 'Moose::Meta::Method::Accessor::Native::Reader',
16 'Moose::Meta::Method::Accessor::Native::Array';
2517
2618 sub _minimum_arguments { 1 }
2719
22 $Moose::Meta::Method::Accessor::Native::Array::grep::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::grep::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::grep::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Reader' => {
16 -excludes => [
17 qw(
18 _minimum_arguments
19 _maximum_arguments
20 _inline_check_arguments
21 )
22 ]
23 };
15 with 'Moose::Meta::Method::Accessor::Native::Reader';
2416
2517 sub _minimum_arguments { 1 }
2618
22 $Moose::Meta::Method::Accessor::Native::Array::insert::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::insert::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::insert::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Array::Writer' => {
14 -excludes => [
15 qw(
16 _minimum_arguments
17 _maximum_arguments
18 _inline_coerce_new_values
19 _new_members
20 _inline_optimized_set_new_value
21 _return_value
22 )
23 ]
24 };
13 with 'Moose::Meta::Method::Accessor::Native::Array::Writer';
2514
2615 sub _minimum_arguments { 2 }
2716
22 $Moose::Meta::Method::Accessor::Native::Array::is_empty::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::is_empty::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::is_empty::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Reader' =>
14 { -excludes => ['_maximum_arguments'] };
13 with 'Moose::Meta::Method::Accessor::Native::Reader';
1514
1615 sub _maximum_arguments { 0 }
1716
22 $Moose::Meta::Method::Accessor::Native::Array::join::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::join::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::join::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Reader' => {
16 -excludes => [
17 qw(
18 _minimum_arguments
19 _maximum_arguments
20 _inline_check_arguments
21 )
22 ]
23 };
15 with 'Moose::Meta::Method::Accessor::Native::Reader';
2416
2517 sub _minimum_arguments { 1 }
2618
22 $Moose::Meta::Method::Accessor::Native::Array::map::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::map::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::map::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Reader' => {
16 -excludes => [
17 qw(
18 _minimum_arguments
19 _maximum_arguments
20 _inline_check_arguments
21 )
22 ]
23 };
15 with 'Moose::Meta::Method::Accessor::Native::Reader';
2416
2517 sub _minimum_arguments { 1 }
2618
22 $Moose::Meta::Method::Accessor::Native::Array::natatime::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::natatime::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::natatime::VERSION = '2.0800';
66 }
77
88 use strict;
1313
1414 use Moose::Role;
1515
16 with 'Moose::Meta::Method::Accessor::Native::Reader' => {
17 -excludes => [
18 qw(
19 _minimum_arguments
20 _maximum_arguments
21 _inline_check_arguments
22 _inline_return_value
23 )
24 ]
25 };
16 with 'Moose::Meta::Method::Accessor::Native::Reader';
2617
2718 sub _minimum_arguments { 1 }
2819
22 $Moose::Meta::Method::Accessor::Native::Array::pop::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::pop::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::pop::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Array::Writer' => {
14 -excludes => [
15 qw( _maximum_arguments
16 _inline_capture_return_value
17 _inline_optimized_set_new_value
18 _return_value )
19 ]
20 };
13 with 'Moose::Meta::Method::Accessor::Native::Array::Writer';
2114
2215 sub _maximum_arguments { 0 }
2316
22 $Moose::Meta::Method::Accessor::Native::Array::push::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::push::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::push::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Array::Writer' => {
14 -excludes => [
15 qw(
16 _inline_optimized_set_new_value
17 _return_value
18 )
19 ]
20 };
13 with 'Moose::Meta::Method::Accessor::Native::Array::Writer';
2114
2215 sub _adds_members { 1 }
2316
22 $Moose::Meta::Method::Accessor::Native::Array::reduce::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::reduce::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::reduce::VERSION = '2.0800';
66 }
77
88 use strict;
1313
1414 use Moose::Role;
1515
16 with 'Moose::Meta::Method::Accessor::Native::Reader' => {
17 -excludes => [
18 qw(
19 _minimum_arguments
20 _maximum_arguments
21 _inline_check_arguments
22 )
23 ]
24 };
16 with 'Moose::Meta::Method::Accessor::Native::Reader';
2517
2618 sub _minimum_arguments { 1 }
2719
22 $Moose::Meta::Method::Accessor::Native::Array::set::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::set::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::set::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Array::Writer' => {
14 -excludes => [
15 qw(
16 _minimum_arguments
17 _maximum_arguments
18 _inline_check_arguments
19 _inline_coerce_new_values
20 _new_members
21 _inline_optimized_set_new_value
22 _return_value
23 )
24 ]
25 };
13 with 'Moose::Meta::Method::Accessor::Native::Array::Writer';
2614
2715 sub _minimum_arguments { 2 }
2816
22 $Moose::Meta::Method::Accessor::Native::Array::shallow_clone::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::shallow_clone::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::shallow_clone::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Reader' => {
16 -excludes => [
17 qw(
18 _minimum_arguments
19 _maximum_arguments
20 )
21 ]
22 };
15 with 'Moose::Meta::Method::Accessor::Native::Reader';
2316
2417 sub _minimum_arguments { 0 }
2518
22 $Moose::Meta::Method::Accessor::Native::Array::shift::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::shift::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::shift::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Array::Writer' => {
14 -excludes => [
15 qw(
16 _maximum_arguments
17 _inline_capture_return_value
18 _inline_optimized_set_new_value
19 _return_value
20 )
21 ]
22 };
13 with 'Moose::Meta::Method::Accessor::Native::Array::Writer';
2314
2415 sub _maximum_arguments { 0 }
2516
22 $Moose::Meta::Method::Accessor::Native::Array::shuffle::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::shuffle::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::shuffle::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Reader' =>
16 { -excludes => ['_maximum_arguments'] };
15 with 'Moose::Meta::Method::Accessor::Native::Reader';
1716
1817 sub _maximum_arguments { 0 }
1918
22 $Moose::Meta::Method::Accessor::Native::Array::sort::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::sort::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::sort::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Reader' => {
16 -excludes => [
17 qw(
18 _maximum_arguments
19 _inline_check_arguments
20 )
21 ]
22 };
15 with 'Moose::Meta::Method::Accessor::Native::Reader';
2316
2417 sub _maximum_arguments { 1 }
2518
22 $Moose::Meta::Method::Accessor::Native::Array::sort_in_place::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::sort_in_place::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::sort_in_place::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Array::Writer' => {
16 -excludes => [
17 qw(
18 _maximum_arguments
19 _inline_check_arguments
20 _return_value
21 )
22 ]
23 };
15 with 'Moose::Meta::Method::Accessor::Native::Array::Writer';
2416
2517 sub _maximum_arguments { 1 }
2618
22 $Moose::Meta::Method::Accessor::Native::Array::splice::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::splice::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::splice::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Array::Writer' => {
14 -excludes => [
15 qw(
16 _minimum_arguments
17 _inline_process_arguments
18 _inline_check_arguments
19 _inline_optimized_set_new_value
20 _return_value
21 )
22 ]
23 };
13 with 'Moose::Meta::Method::Accessor::Native::Array::Writer';
2414
2515 sub _minimum_arguments { 1 }
2616
22 $Moose::Meta::Method::Accessor::Native::Array::uniq::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::uniq::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::uniq::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Reader' =>
16 { -excludes => ['_maximum_arguments'] };
15 with 'Moose::Meta::Method::Accessor::Native::Reader';
1716
1817 sub _maximum_arguments { 0 }
1918
22 $Moose::Meta::Method::Accessor::Native::Array::unshift::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::unshift::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::unshift::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Array::Writer' => {
14 -excludes => [
15 qw(
16 _inline_optimized_set_new_value
17 _return_value
18 )
19 ]
20 };
13 with 'Moose::Meta::Method::Accessor::Native::Array::Writer';
2114
2215 sub _adds_members { 1 }
2316
22 $Moose::Meta::Method::Accessor::Native::Array::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Array::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Array::VERSION = '2.0800';
66 }
77
88 use strict;
22 $Moose::Meta::Method::Accessor::Native::Bool::not::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Bool::not::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Bool::not::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Reader' =>
14 { -excludes => ['_maximum_arguments'] };
13 with 'Moose::Meta::Method::Accessor::Native::Reader';
1514
1615 sub _maximum_arguments { 0 }
1716
22 $Moose::Meta::Method::Accessor::Native::Bool::set::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Bool::set::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Bool::set::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => [
15 qw(
16 _maximum_arguments
17 _inline_optimized_set_new_value
18 )
19 ]
20 };
13 with 'Moose::Meta::Method::Accessor::Native::Writer';
2114
2215 sub _maximum_arguments { 0 }
2316
22 $Moose::Meta::Method::Accessor::Native::Bool::toggle::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Bool::toggle::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Bool::toggle::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => [
15 qw(
16 _maximum_arguments
17 _inline_optimized_set_new_value
18 )
19 ]
20 };
13 with 'Moose::Meta::Method::Accessor::Native::Writer';
2114
2215 sub _maximum_arguments { 0 }
2316
22 $Moose::Meta::Method::Accessor::Native::Bool::unset::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Bool::unset::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Bool::unset::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => [
15 qw(
16 _maximum_arguments
17 _inline_optimized_set_new_value
18 )
19 ]
20 };
13 with 'Moose::Meta::Method::Accessor::Native::Writer';
2114
2215 sub _maximum_arguments { 0 }
2316
22 $Moose::Meta::Method::Accessor::Native::Code::execute::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Code::execute::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Code::execute::VERSION = '2.0800';
66 }
77
88 use strict;
22 $Moose::Meta::Method::Accessor::Native::Code::execute_method::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Code::execute_method::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Code::execute_method::VERSION = '2.0800';
66 }
77
88 use strict;
22 $Moose::Meta::Method::Accessor::Native::Collection::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Collection::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Collection::VERSION = '2.0800';
66 }
77
88 use strict;
22 $Moose::Meta::Method::Accessor::Native::Counter::Writer::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Counter::Writer::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Counter::Writer::VERSION = '2.0800';
66 }
77
88 use strict;
22 $Moose::Meta::Method::Accessor::Native::Counter::dec::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Counter::dec::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Counter::dec::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => [
15 qw(
16 _minimum_arguments
17 _maximum_arguments
18 _inline_optimized_set_new_value
19 )
20 ]
21 };
13 with 'Moose::Meta::Method::Accessor::Native::Writer';
2214
2315 sub _minimum_arguments { 0 }
2416 sub _maximum_arguments { 1 }
22 $Moose::Meta::Method::Accessor::Native::Counter::inc::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Counter::inc::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Counter::inc::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => [
15 qw(
16 _minimum_arguments
17 _maximum_arguments
18 _inline_optimized_set_new_value
19 )
20 ]
21 };
13 with 'Moose::Meta::Method::Accessor::Native::Writer';
2214
2315 sub _minimum_arguments { 0 }
2416 sub _maximum_arguments { 1 }
22 $Moose::Meta::Method::Accessor::Native::Counter::reset::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Counter::reset::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Counter::reset::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => [
15 qw(
16 _maximum_arguments
17 _inline_optimized_set_new_value
18 )
19 ]
20 };
13 with 'Moose::Meta::Method::Accessor::Native::Writer';
2114
2215 sub _maximum_arguments { 0 }
2316
22 $Moose::Meta::Method::Accessor::Native::Counter::set::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Counter::set::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Counter::set::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => [
15 qw(
16 _minimum_arguments
17 _maximum_arguments
18 _inline_optimized_set_new_value
19 )
20 ]
21 };
13 with 'Moose::Meta::Method::Accessor::Native::Writer';
2214
2315 sub _minimum_arguments { 1 }
2416 sub _maximum_arguments { 1 }
22 $Moose::Meta::Method::Accessor::Native::Hash::Writer::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Hash::Writer::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Hash::Writer::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
16 -excludes => ['_inline_coerce_new_values'],
17 },
18 'Moose::Meta::Method::Accessor::Native::Hash',
19 'Moose::Meta::Method::Accessor::Native::Collection';
15 with 'Moose::Meta::Method::Accessor::Native::Writer',
16 'Moose::Meta::Method::Accessor::Native::Hash',
17 'Moose::Meta::Method::Accessor::Native::Collection';
18
19 sub _inline_coerce_new_values {
20 my $self = shift;
21 $self->Moose::Meta::Method::Accessor::Native::Collection::_inline_coerce_new_values(@_);
22 }
2023
2124 sub _new_values { '@values' }
2225
22 $Moose::Meta::Method::Accessor::Native::Hash::accessor::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Hash::accessor::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Hash::accessor::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Hash::set' => {
14 -excludes => [
15 qw(
16 _generate_method
17 _minimum_arguments
18 _maximum_arguments
19 )
20 ]
21 },
22 'Moose::Meta::Method::Accessor::Native::Hash::get' => {
23 -excludes => [
24 qw(
25 _generate_method
26 _minimum_arguments
27 _maximum_arguments
28 _inline_check_argument_count
29 _inline_check_arguments
30 _inline_process_arguments
31 _return_value
32 )
33 ]
34 };
13 with 'Moose::Meta::Method::Accessor::Native::Hash::set',
14 'Moose::Meta::Method::Accessor::Native::Hash::get';
15
16 sub _inline_process_arguments {
17 my $self = shift;
18 $self->Moose::Meta::Method::Accessor::Native::Hash::set::_inline_process_arguments(@_);
19 }
20
21 sub _inline_check_argument_count {
22 my $self = shift;
23 $self->Moose::Meta::Method::Accessor::Native::Hash::set::_inline_check_argument_count(@_);
24 }
25
26 sub _inline_check_arguments {
27 my $self = shift;
28 $self->Moose::Meta::Method::Accessor::Native::Hash::set::_inline_check_arguments(@_);
29 }
30
31 sub _return_value {
32 my $self = shift;
33 $self->Moose::Meta::Method::Accessor::Native::Hash::set::_return_value(@_);
34 }
3535
3636 sub _generate_method {
3737 my $self = shift;
22 $Moose::Meta::Method::Accessor::Native::Hash::clear::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Hash::clear::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Hash::clear::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Hash::Writer' => {
14 -excludes => [
15 qw(
16 _maximum_arguments
17 _inline_optimized_set_new_value
18 _return_value
19 )
20 ]
21 };
13 with 'Moose::Meta::Method::Accessor::Native::Hash::Writer';
2214
2315 sub _maximum_arguments { 0 }
2416
22 $Moose::Meta::Method::Accessor::Native::Hash::count::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Hash::count::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Hash::count::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Reader' =>
16 { -excludes => ['_maximum_arguments'] };
15 with 'Moose::Meta::Method::Accessor::Native::Reader';
1716
1817 sub _maximum_arguments { 0 }
1918
22 $Moose::Meta::Method::Accessor::Native::Hash::defined::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Hash::defined::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Hash::defined::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Reader' => {
16 -excludes => [
17 qw(
18 _minimum_arguments
19 _maximum_arguments
20 _inline_check_arguments
21 )
22 ],
23 },
24 'Moose::Meta::Method::Accessor::Native::Hash';
15 with 'Moose::Meta::Method::Accessor::Native::Reader',
16 'Moose::Meta::Method::Accessor::Native::Hash';
2517
2618 sub _minimum_arguments { 1 }
2719
22 $Moose::Meta::Method::Accessor::Native::Hash::delete::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Hash::delete::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Hash::delete::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Hash::Writer' => {
14 -excludes => [
15 qw(
16 _inline_optimized_set_new_value
17 _return_value
18 )
19 ],
20 };
13 with 'Moose::Meta::Method::Accessor::Native::Hash::Writer';
2114
2215 sub _adds_members { 0 }
2316
22 $Moose::Meta::Method::Accessor::Native::Hash::elements::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Hash::elements::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Hash::elements::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Reader' =>
16 { -excludes => ['_maximum_arguments'] };
15 with 'Moose::Meta::Method::Accessor::Native::Reader';
1716
1817 sub _maximum_arguments { 0 }
1918
22 $Moose::Meta::Method::Accessor::Native::Hash::exists::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Hash::exists::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Hash::exists::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Reader' => {
16 -excludes => [
17 qw(
18 _minimum_arguments
19 _maximum_arguments
20 _inline_check_arguments
21 )
22 ],
23 },
24 'Moose::Meta::Method::Accessor::Native::Hash';
15 with 'Moose::Meta::Method::Accessor::Native::Reader',
16 'Moose::Meta::Method::Accessor::Native::Hash';
2517
2618 sub _minimum_arguments { 1 }
2719
22 $Moose::Meta::Method::Accessor::Native::Hash::get::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Hash::get::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Hash::get::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Reader' => {
16 -excludes => [
17 qw(
18 _minimum_arguments
19 _inline_check_arguments
20 )
21 ],
22 },
23 'Moose::Meta::Method::Accessor::Native::Hash';
15 with 'Moose::Meta::Method::Accessor::Native::Reader',
16 'Moose::Meta::Method::Accessor::Native::Hash';
2417
2518 sub _minimum_arguments { 1 }
2619
22 $Moose::Meta::Method::Accessor::Native::Hash::is_empty::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Hash::is_empty::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Hash::is_empty::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Reader' =>
16 { -excludes => ['_maximum_arguments'] };
15 with 'Moose::Meta::Method::Accessor::Native::Reader';
1716
1817 sub _maximum_arguments { 0 }
1918
22 $Moose::Meta::Method::Accessor::Native::Hash::keys::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Hash::keys::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Hash::keys::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Reader' =>
16 { -excludes => ['_maximum_arguments'] };
15 with 'Moose::Meta::Method::Accessor::Native::Reader';
1716
1817 sub _maximum_arguments { 0 }
1918
22 $Moose::Meta::Method::Accessor::Native::Hash::kv::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Hash::kv::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Hash::kv::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Reader' =>
16 { -excludes => ['_maximum_arguments'] };
15 with 'Moose::Meta::Method::Accessor::Native::Reader';
1716
1817 sub _maximum_arguments { 0 }
1918
22 $Moose::Meta::Method::Accessor::Native::Hash::set::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Hash::set::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Hash::set::VERSION = '2.0800';
66 }
77
88 use strict;
1313
1414 use Moose::Role;
1515
16 with 'Moose::Meta::Method::Accessor::Native::Hash::Writer' => {
17 -excludes => [
18 qw(
19 _minimum_arguments
20 _maximum_arguments
21 _inline_process_arguments
22 _inline_check_arguments
23 _inline_coerce_new_values
24 _inline_optimized_set_new_value
25 _return_value
26 )
27 ],
28 };
16 with 'Moose::Meta::Method::Accessor::Native::Hash::Writer';
2917
3018 sub _minimum_arguments { 2 }
3119
22 $Moose::Meta::Method::Accessor::Native::Hash::shallow_clone::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Hash::shallow_clone::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Hash::shallow_clone::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Reader' => {
16 -excludes => [
17 qw(
18 _minimum_arguments
19 _maximum_arguments
20 )
21 ]
22 };
15 with 'Moose::Meta::Method::Accessor::Native::Reader';
2316
2417 sub _minimum_arguments { 0 }
2518
22 $Moose::Meta::Method::Accessor::Native::Hash::values::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Hash::values::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Hash::values::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Reader' =>
16 { -excludes => ['_maximum_arguments'] };
15 with 'Moose::Meta::Method::Accessor::Native::Reader';
1716
1817 sub _maximum_arguments { 0 }
1918
22 $Moose::Meta::Method::Accessor::Native::Hash::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Hash::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Hash::VERSION = '2.0800';
66 }
77
88 use strict;
22 $Moose::Meta::Method::Accessor::Native::Number::abs::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Number::abs::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Number::abs::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => [
15 qw(
16 _maximum_arguments
17 _inline_optimized_set_new_value
18 )
19 ]
20 };
13 with 'Moose::Meta::Method::Accessor::Native::Writer';
2114
2215 sub _maximum_arguments { 0 }
2316
22 $Moose::Meta::Method::Accessor::Native::Number::add::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Number::add::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Number::add::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => [
15 qw(
16 _minimum_arguments
17 _maximum_arguments
18 _inline_optimized_set_new_value
19 )
20 ]
21 };
13 with 'Moose::Meta::Method::Accessor::Native::Writer';
2214
2315 sub _minimum_arguments { 1 }
2416
22 $Moose::Meta::Method::Accessor::Native::Number::div::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Number::div::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Number::div::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => [
15 qw(
16 _minimum_arguments
17 _maximum_arguments
18 _inline_optimized_set_new_value
19 )
20 ]
21 };
13 with 'Moose::Meta::Method::Accessor::Native::Writer';
2214
2315 sub _minimum_arguments { 1 }
2416
22 $Moose::Meta::Method::Accessor::Native::Number::mod::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Number::mod::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Number::mod::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => [
15 qw(
16 _minimum_arguments
17 _maximum_arguments
18 _inline_optimized_set_new_value
19 )
20 ]
21 };
13 with 'Moose::Meta::Method::Accessor::Native::Writer';
2214
2315 sub _minimum_arguments { 1 }
2416
22 $Moose::Meta::Method::Accessor::Native::Number::mul::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Number::mul::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Number::mul::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => [
15 qw(
16 _minimum_arguments
17 _maximum_arguments
18 _inline_optimized_set_new_value
19 )
20 ]
21 };
13 with 'Moose::Meta::Method::Accessor::Native::Writer';
2214
2315 sub _minimum_arguments { 1 }
2416
22 $Moose::Meta::Method::Accessor::Native::Number::set::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Number::set::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Number::set::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => [
15 qw(
16 _minimum_arguments
17 _maximum_arguments
18 _inline_optimized_set_new_value
19 )
20 ]
21 };
13 with 'Moose::Meta::Method::Accessor::Native::Writer';
2214
2315 sub _minimum_arguments { 1 }
2416 sub _maximum_arguments { 1 }
22 $Moose::Meta::Method::Accessor::Native::Number::sub::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Number::sub::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Number::sub::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => [
15 qw(
16 _minimum_arguments
17 _maximum_arguments
18 _inline_optimized_set_new_value
19 )
20 ]
21 };
13 with 'Moose::Meta::Method::Accessor::Native::Writer';
2214
2315 sub _minimum_arguments { 1 }
2416
22 $Moose::Meta::Method::Accessor::Native::Reader::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Reader::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Reader::VERSION = '2.0800';
66 }
77
88 use strict;
22 $Moose::Meta::Method::Accessor::Native::String::append::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::String::append::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::String::append::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => [
15 qw(
16 _minimum_arguments
17 _maximum_arguments
18 _inline_optimized_set_new_value
19 )
20 ]
21 };
13 with 'Moose::Meta::Method::Accessor::Native::Writer';
2214
2315 sub _minimum_arguments { 1 }
2416
22 $Moose::Meta::Method::Accessor::Native::String::chomp::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::String::chomp::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::String::chomp::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => [
15 qw(
16 _maximum_arguments
17 _inline_optimized_set_new_value
18 _return_value
19 )
20 ]
21 };
13 with 'Moose::Meta::Method::Accessor::Native::Writer';
2214
2315 sub _maximum_arguments { 0 }
2416
22 $Moose::Meta::Method::Accessor::Native::String::chop::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::String::chop::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::String::chop::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => [
15 qw(
16 _maximum_arguments
17 _inline_optimized_set_new_value
18 _return_value
19 )
20 ]
21 };
13 with 'Moose::Meta::Method::Accessor::Native::Writer';
2214
2315 sub _maximum_arguments { 0 }
2416
22 $Moose::Meta::Method::Accessor::Native::String::clear::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::String::clear::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::String::clear::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => [
15 qw(
16 _maximum_arguments
17 _inline_optimized_set_new_value
18 )
19 ]
20 };
13 with 'Moose::Meta::Method::Accessor::Native::Writer';
2114
2215 sub _maximum_arguments { 0 }
2316
22 $Moose::Meta::Method::Accessor::Native::String::inc::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::String::inc::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::String::inc::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => [
15 qw(
16 _maximum_arguments
17 _inline_optimized_set_new_value
18 )
19 ]
20 };
13 with 'Moose::Meta::Method::Accessor::Native::Writer';
2114
2215 sub _maximum_arguments { 0 }
2316
22 $Moose::Meta::Method::Accessor::Native::String::length::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::String::length::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::String::length::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Reader' =>
14 { -excludes => ['_maximum_arguments'] };
13 with 'Moose::Meta::Method::Accessor::Native::Reader';
1514
1615 sub _maximum_arguments { 0 }
1716
22 $Moose::Meta::Method::Accessor::Native::String::match::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::String::match::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::String::match::VERSION = '2.0800';
66 }
77
88 use strict;
1313
1414 use Moose::Role;
1515
16 with 'Moose::Meta::Method::Accessor::Native::Reader' => {
17 -excludes => [
18 qw(
19 _minimum_arguments
20 _maximum_arguments
21 _inline_check_arguments
22 )
23 ]
24 };
16 with 'Moose::Meta::Method::Accessor::Native::Reader';
2517
2618 sub _minimum_arguments { 1 }
2719
22 $Moose::Meta::Method::Accessor::Native::String::prepend::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::String::prepend::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::String::prepend::VERSION = '2.0800';
66 }
77
88 use strict;
1010
1111 use Moose::Role;
1212
13 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
14 -excludes => [
15 qw(
16 _minimum_arguments
17 _maximum_arguments
18 _inline_optimized_set_new_value
19 )
20 ]
21 };
13 with 'Moose::Meta::Method::Accessor::Native::Writer';
2214
2315 sub _minimum_arguments { 1 }
2416
22 $Moose::Meta::Method::Accessor::Native::String::replace::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::String::replace::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::String::replace::VERSION = '2.0800';
66 }
77
88 use strict;
1313
1414 use Moose::Role;
1515
16 with 'Moose::Meta::Method::Accessor::Native::Writer' => {
17 -excludes => [
18 qw(
19 _minimum_arguments
20 _maximum_arguments
21 _inline_check_arguments
22 _inline_optimized_set_new_value
23 )
24 ]
25 };
16 with 'Moose::Meta::Method::Accessor::Native::Writer';
2617
2718 sub _minimum_arguments { 1 }
2819
22 $Moose::Meta::Method::Accessor::Native::String::substr::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::String::substr::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::String::substr::VERSION = '2.0800';
66 }
77
88 use strict;
1212
1313 use Moose::Role;
1414
15 with 'Moose::Meta::Method::Accessor::Native::Reader' => {
16 -excludes => [
17 qw( _generate_method
18 _minimum_arguments
19 _maximum_arguments
20 _inline_process_arguments
21 _inline_check_arguments
22 _return_value
23 )
24 ]
25 },
26 'Moose::Meta::Method::Accessor::Native::Writer' => {
27 -excludes => [
28 qw(
29 _generate_method
30 _minimum_arguments
31 _maximum_arguments
32 _inline_process_arguments
33 _inline_check_arguments
34 _inline_optimized_set_new_value
35 _return_value
36 )
37 ]
38 };
15 with 'Moose::Meta::Method::Accessor::Native::Reader',
16 'Moose::Meta::Method::Accessor::Native::Writer';
3917
4018 sub _generate_method {
4119 my $self = shift;
22 $Moose::Meta::Method::Accessor::Native::Writer::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::Writer::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::Writer::VERSION = '2.0800';
66 }
77
88 use strict;
22 $Moose::Meta::Method::Accessor::Native::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Accessor::Native::VERSION = '2.0604';
5 $Moose::Meta::Method::Accessor::Native::VERSION = '2.0800';
66 }
77
88 use strict;
33 $Moose::Meta::Method::Accessor::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::Method::Accessor::VERSION = '2.0604';
6 $Moose::Meta::Method::Accessor::VERSION = '2.0800';
77 }
88
99 use strict;
130130
131131 # ABSTRACT: A Moose Method metaclass for accessors
132132
133
133 __END__
134134
135135 =pod
136136
140140
141141 =head1 VERSION
142142
143 version 2.0604
143 version 2.0800
144144
145145 =head1 DESCRIPTION
146146
161161
162162 =head1 COPYRIGHT AND LICENSE
163163
164 This software is copyright (c) 2012 by Infinity Interactive, Inc..
164 This software is copyright (c) 2013 by Infinity Interactive, Inc..
165165
166166 This is free software; you can redistribute it and/or modify it under
167167 the same terms as the Perl 5 programming language system itself.
168168
169169 =cut
170
171
172 __END__
173
22 $Moose::Meta::Method::Augmented::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Augmented::VERSION = '2.0604';
5 $Moose::Meta::Method::Augmented::VERSION = '2.0800';
66 }
77
88 use strict;
5959
6060 # ABSTRACT: A Moose Method metaclass for augmented methods
6161
62
62 __END__
6363
6464 =pod
6565
6969
7070 =head1 VERSION
7171
72 version 2.0604
72 version 2.0800
7373
7474 =head1 DESCRIPTION
7575
122122
123123 =head1 COPYRIGHT AND LICENSE
124124
125 This software is copyright (c) 2012 by Infinity Interactive, Inc..
125 This software is copyright (c) 2013 by Infinity Interactive, Inc..
126126
127127 This is free software; you can redistribute it and/or modify it under
128128 the same terms as the Perl 5 programming language system itself.
129129
130130 =cut
131
132
133 __END__
134
33 $Moose::Meta::Method::Constructor::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::Method::Constructor::VERSION = '2.0604';
6 $Moose::Meta::Method::Constructor::VERSION = '2.0800';
77 }
88
99 use strict;
6060
6161 # ABSTRACT: Method Meta Object for constructors
6262
63
63 __END__
6464
6565 =pod
6666
7070
7171 =head1 VERSION
7272
73 version 2.0604
73 version 2.0800
7474
7575 =head1 DESCRIPTION
7676
9595
9696 =head1 COPYRIGHT AND LICENSE
9797
98 This software is copyright (c) 2012 by Infinity Interactive, Inc..
98 This software is copyright (c) 2013 by Infinity Interactive, Inc..
9999
100100 This is free software; you can redistribute it and/or modify it under
101101 the same terms as the Perl 5 programming language system itself.
102102
103103 =cut
104
105
106 __END__
107
108
33 $Moose::Meta::Method::Delegation::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::Method::Delegation::VERSION = '2.0604';
6 $Moose::Meta::Method::Delegation::VERSION = '2.0800';
77 }
88
99 use strict;
136136
137137 # ABSTRACT: A Moose Method metaclass for delegation methods
138138
139
139 __END__
140140
141141 =pod
142142
146146
147147 =head1 VERSION
148148
149 version 2.0604
149 version 2.0800
150150
151151 =head1 DESCRIPTION
152152
205205
206206 =head1 COPYRIGHT AND LICENSE
207207
208 This software is copyright (c) 2012 by Infinity Interactive, Inc..
208 This software is copyright (c) 2013 by Infinity Interactive, Inc..
209209
210210 This is free software; you can redistribute it and/or modify it under
211211 the same terms as the Perl 5 programming language system itself.
212212
213213 =cut
214
215
216 __END__
217
33 $Moose::Meta::Method::Destructor::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::Method::Destructor::VERSION = '2.0604';
6 $Moose::Meta::Method::Destructor::VERSION = '2.0800';
77 }
88
99 use strict;
8686 'my $self = shift;',
8787 'return ' . $self->_generate_fallback_destructor('$self'),
8888 'if Scalar::Util::blessed($self) ne \'' . $class . '\';',
89 'local $?;',
9089 $self->_generate_DEMOLISHALL('$self'),
9190 'return;',
9291 '}',
123122 return unless @methods;
124123
125124 return (
125 'local $?;',
126126 'my $igd = Devel::GlobalDestruction::in_global_destruction;',
127127 'Try::Tiny::try {',
128128 (map { $inv . '->' . $_->{class} . '::DEMOLISH($igd);' } @methods),
138138
139139 # ABSTRACT: Method Meta Object for destructors
140140
141
141 __END__
142142
143143 =pod
144144
148148
149149 =head1 VERSION
150150
151 version 2.0604
151 version 2.0800
152152
153153 =head1 DESCRIPTION
154154
208208
209209 =head1 COPYRIGHT AND LICENSE
210210
211 This software is copyright (c) 2012 by Infinity Interactive, Inc..
211 This software is copyright (c) 2013 by Infinity Interactive, Inc..
212212
213213 This is free software; you can redistribute it and/or modify it under
214214 the same terms as the Perl 5 programming language system itself.
215215
216216 =cut
217
218
219 __END__
220
221
33 $Moose::Meta::Method::Meta::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::Method::Meta::VERSION = '2.0604';
6 $Moose::Meta::Method::Meta::VERSION = '2.0800';
77 }
88
99 use strict;
3434
3535 # ABSTRACT: A Moose Method metaclass for C<meta> methods
3636
37
37 __END__
3838
3939 =pod
4040
4444
4545 =head1 VERSION
4646
47 version 2.0604
47 version 2.0800
4848
4949 =head1 DESCRIPTION
5050
6565
6666 =head1 COPYRIGHT AND LICENSE
6767
68 This software is copyright (c) 2012 by Infinity Interactive, Inc..
68 This software is copyright (c) 2013 by Infinity Interactive, Inc..
6969
7070 This is free software; you can redistribute it and/or modify it under
7171 the same terms as the Perl 5 programming language system itself.
7272
7373 =cut
74
75
76 __END__
77
22 $Moose::Meta::Method::Overridden::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::Overridden::VERSION = '2.0604';
5 $Moose::Meta::Method::Overridden::VERSION = '2.0800';
66 }
77
88 use strict;
5252
5353 # ABSTRACT: A Moose Method metaclass for overridden methods
5454
55
55 __END__
5656
5757 =pod
5858
6262
6363 =head1 VERSION
6464
65 version 2.0604
65 version 2.0800
6666
6767 =head1 DESCRIPTION
6868
111111
112112 =head1 COPYRIGHT AND LICENSE
113113
114 This software is copyright (c) 2012 by Infinity Interactive, Inc..
114 This software is copyright (c) 2013 by Infinity Interactive, Inc..
115115
116116 This is free software; you can redistribute it and/or modify it under
117117 the same terms as the Perl 5 programming language system itself.
118118
119119 =cut
120
121
122 __END__
123
22 $Moose::Meta::Method::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Method::VERSION = '2.0604';
5 $Moose::Meta::Method::VERSION = '2.0800';
66 }
77
88 use strict;
5454
5555 # ABSTRACT: A Moose Method metaclass
5656
57
57 __END__
5858
5959 =pod
6060
6464
6565 =head1 VERSION
6666
67 version 2.0604
67 version 2.0800
6868
6969 =head1 DESCRIPTION
7070
8888
8989 =head1 COPYRIGHT AND LICENSE
9090
91 This software is copyright (c) 2012 by Infinity Interactive, Inc..
91 This software is copyright (c) 2013 by Infinity Interactive, Inc..
9292
9393 This is free software; you can redistribute it and/or modify it under
9494 the same terms as the Perl 5 programming language system itself.
9595
9696 =cut
97
98
99 __END__
100
22 $Moose::Meta::Mixin::AttributeCore::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Mixin::AttributeCore::VERSION = '2.0604';
5 $Moose::Meta::Mixin::AttributeCore::VERSION = '2.0800';
66 }
77
88 use strict;
109109
110110 # ABSTRACT: Core attributes shared by attribute metaclasses
111111
112
112 __END__
113113
114114 =pod
115115
119119
120120 =head1 VERSION
121121
122 version 2.0604
122 version 2.0800
123123
124124 =head1 DESCRIPTION
125125
136136
137137 =head1 COPYRIGHT AND LICENSE
138138
139 This software is copyright (c) 2012 by Infinity Interactive, Inc..
139 This software is copyright (c) 2013 by Infinity Interactive, Inc..
140140
141141 This is free software; you can redistribute it and/or modify it under
142142 the same terms as the Perl 5 programming language system itself.
143143
144144 =cut
145
146
147 __END__
148
33 $Moose::Meta::Object::Trait::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::Object::Trait::VERSION = '2.0604';
6 $Moose::Meta::Object::Trait::VERSION = '2.0800';
77 }
88
99 use Scalar::Util qw(blessed);
3333
3434 # ABSTRACT: Some overrides for L<Class::MOP::Object> functionality
3535
36
36 __END__
3737
3838 =pod
3939
4343
4444 =head1 VERSION
4545
46 version 2.0604
46 version 2.0800
4747
4848 =head1 DESCRIPTION
4949
6060
6161 =head1 COPYRIGHT AND LICENSE
6262
63 This software is copyright (c) 2012 by Infinity Interactive, Inc..
63 This software is copyright (c) 2013 by Infinity Interactive, Inc..
6464
6565 This is free software; you can redistribute it and/or modify it under
6666 the same terms as the Perl 5 programming language system itself.
6767
6868 =cut
69
70
71 __END__
72
22 $Moose::Meta::Role::Application::RoleSummation::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Role::Application::RoleSummation::VERSION = '2.0604';
5 $Moose::Meta::Role::Application::RoleSummation::VERSION = '2.0800';
66 }
77
88 use strict;
260260
261261 # ABSTRACT: Combine two or more roles
262262
263
263 __END__
264264
265265 =pod
266266
270270
271271 =head1 VERSION
272272
273 version 2.0604
273 version 2.0800
274274
275275 =head1 DESCRIPTION
276276
325325
326326 =head1 COPYRIGHT AND LICENSE
327327
328 This software is copyright (c) 2012 by Infinity Interactive, Inc..
328 This software is copyright (c) 2013 by Infinity Interactive, Inc..
329329
330330 This is free software; you can redistribute it and/or modify it under
331331 the same terms as the Perl 5 programming language system itself.
332332
333333 =cut
334
335
336 __END__
337
338
22 $Moose::Meta::Role::Application::ToClass::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Role::Application::ToClass::VERSION = '2.0604';
5 $Moose::Meta::Role::Application::ToClass::VERSION = '2.0800';
66 }
77
88 use strict;
235235
236236 # ABSTRACT: Compose a role into a class
237237
238
238 __END__
239239
240240 =pod
241241
245245
246246 =head1 VERSION
247247
248 version 2.0604
248 version 2.0800
249249
250250 =head1 DESCRIPTION
251251
285285
286286 =head1 COPYRIGHT AND LICENSE
287287
288 This software is copyright (c) 2012 by Infinity Interactive, Inc..
288 This software is copyright (c) 2013 by Infinity Interactive, Inc..
289289
290290 This is free software; you can redistribute it and/or modify it under
291291 the same terms as the Perl 5 programming language system itself.
292292
293293 =cut
294
295
296 __END__
297
298
22 $Moose::Meta::Role::Application::ToInstance::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Role::Application::ToInstance::VERSION = '2.0604';
5 $Moose::Meta::Role::Application::ToInstance::VERSION = '2.0800';
66 }
77
88 use strict;
4444
4545 # ABSTRACT: Compose a role into an instance
4646
47
47 __END__
4848
4949 =pod
5050
5454
5555 =head1 VERSION
5656
57 version 2.0604
57 version 2.0800
5858
5959 =head1 DESCRIPTION
6060
8282
8383 =head1 COPYRIGHT AND LICENSE
8484
85 This software is copyright (c) 2012 by Infinity Interactive, Inc..
85 This software is copyright (c) 2013 by Infinity Interactive, Inc..
8686
8787 This is free software; you can redistribute it and/or modify it under
8888 the same terms as the Perl 5 programming language system itself.
8989
9090 =cut
91
92
93 __END__
94
95
22 $Moose::Meta::Role::Application::ToRole::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Role::Application::ToRole::VERSION = '2.0604';
5 $Moose::Meta::Role::Application::ToRole::VERSION = '2.0800';
66 }
77
88 use strict;
9090 if ( $role2_method
9191 && $role2_method->body != $method->body ) {
9292
93 # method conflicts between roles result in the method becoming
94 # a requirement
95 $role2->add_conflicting_method(
96 name => $method_name,
97 roles => [ $role1->name, $role2->name ],
98 );
93 # method conflicts between roles used to result in the method
94 # becoming a requirement but now are permitted just like
95 # for classes, hence no code in this branch anymore.
9996 }
10097 else {
10198 $role2->add_method(
187184
188185 # ABSTRACT: Compose a role into another role
189186
190
187 __END__
191188
192189 =pod
193190
197194
198195 =head1 VERSION
199196
200 version 2.0604
197 version 2.0800
201198
202199 =head1 DESCRIPTION
203200
237234
238235 =head1 COPYRIGHT AND LICENSE
239236
240 This software is copyright (c) 2012 by Infinity Interactive, Inc..
237 This software is copyright (c) 2013 by Infinity Interactive, Inc..
241238
242239 This is free software; you can redistribute it and/or modify it under
243240 the same terms as the Perl 5 programming language system itself.
244241
245242 =cut
246
247
248 __END__
249
250
22 $Moose::Meta::Role::Application::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Role::Application::VERSION = '2.0604';
5 $Moose::Meta::Role::Application::VERSION = '2.0800';
66 }
77
88 use strict;
8181
8282 # ABSTRACT: A base class for role application
8383
84
84 __END__
8585
8686 =pod
8787
9191
9292 =head1 VERSION
9393
94 version 2.0604
94 version 2.0800
9595
9696 =head1 DESCRIPTION
9797
152152
153153 =head1 COPYRIGHT AND LICENSE
154154
155 This software is copyright (c) 2012 by Infinity Interactive, Inc..
155 This software is copyright (c) 2013 by Infinity Interactive, Inc..
156156
157157 This is free software; you can redistribute it and/or modify it under
158158 the same terms as the Perl 5 programming language system itself.
159159
160160 =cut
161
162
163 __END__
164
165
22 $Moose::Meta::Role::Attribute::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Role::Attribute::VERSION = '2.0604';
5 $Moose::Meta::Role::Attribute::VERSION = '2.0800';
66 }
77
88 use strict;
128128
129129 # ABSTRACT: The Moose attribute metaclass for Roles
130130
131
131 __END__
132132
133133 =pod
134134
138138
139139 =head1 VERSION
140140
141 version 2.0604
141 version 2.0800
142142
143143 =head1 DESCRIPTION
144144
211211
212212 =head1 COPYRIGHT AND LICENSE
213213
214 This software is copyright (c) 2012 by Infinity Interactive, Inc..
214 This software is copyright (c) 2013 by Infinity Interactive, Inc..
215215
216216 This is free software; you can redistribute it and/or modify it under
217217 the same terms as the Perl 5 programming language system itself.
218218
219219 =cut
220
221
222 __END__
223
22 $Moose::Meta::Role::Composite::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Role::Composite::VERSION = '2.0604';
5 $Moose::Meta::Role::Composite::VERSION = '2.0800';
66 }
77
88 use strict;
155155
156156 # ABSTRACT: An object to represent the set of roles
157157
158
158 __END__
159159
160160 =pod
161161
165165
166166 =head1 VERSION
167167
168 version 2.0604
168 version 2.0800
169169
170170 =head1 DESCRIPTION
171171
224224
225225 =head1 COPYRIGHT AND LICENSE
226226
227 This software is copyright (c) 2012 by Infinity Interactive, Inc..
227 This software is copyright (c) 2013 by Infinity Interactive, Inc..
228228
229229 This is free software; you can redistribute it and/or modify it under
230230 the same terms as the Perl 5 programming language system itself.
231231
232232 =cut
233
234
235 __END__
236
33 $Moose::Meta::Role::Method::Conflicting::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::Role::Method::Conflicting::VERSION = '2.0604';
6 $Moose::Meta::Role::Method::Conflicting::VERSION = '2.0800';
77 }
88
99 use strict;
2828
2929 # ABSTRACT: A Moose metaclass for conflicting methods in Roles
3030
31
31 __END__
3232
3333 =pod
3434
3838
3939 =head1 VERSION
4040
41 version 2.0604
41 version 2.0800
4242
4343 =head1 DESCRIPTION
4444
9292
9393 =head1 COPYRIGHT AND LICENSE
9494
95 This software is copyright (c) 2012 by Infinity Interactive, Inc..
95 This software is copyright (c) 2013 by Infinity Interactive, Inc..
9696
9797 This is free software; you can redistribute it and/or modify it under
9898 the same terms as the Perl 5 programming language system itself.
9999
100100 =cut
101
102
103 __END__
104
33 $Moose::Meta::Role::Method::Required::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::Role::Method::Required::VERSION = '2.0604';
6 $Moose::Meta::Role::Method::Required::VERSION = '2.0800';
77 }
88
99 use strict;
3030
3131 # ABSTRACT: A Moose metaclass for required methods in Roles
3232
33
33 __END__
3434
3535 =pod
3636
4040
4141 =head1 VERSION
4242
43 version 2.0604
43 version 2.0800
4444
4545 =head1 DESCRIPTION
4646
8282
8383 =head1 COPYRIGHT AND LICENSE
8484
85 This software is copyright (c) 2012 by Infinity Interactive, Inc..
85 This software is copyright (c) 2013 by Infinity Interactive, Inc..
8686
8787 This is free software; you can redistribute it and/or modify it under
8888 the same terms as the Perl 5 programming language system itself.
8989
9090 =cut
91
92
93 __END__
94
33 $Moose::Meta::Role::Method::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::Role::Method::VERSION = '2.0604';
6 $Moose::Meta::Role::Method::VERSION = '2.0800';
77 }
88
99 use strict;
2626
2727 # ABSTRACT: A Moose Method metaclass for Roles
2828
29
29 __END__
3030
3131 =pod
3232
3636
3737 =head1 VERSION
3838
39 version 2.0604
39 version 2.0800
4040
4141 =head1 DESCRIPTION
4242
5454
5555 =head1 COPYRIGHT AND LICENSE
5656
57 This software is copyright (c) 2012 by Infinity Interactive, Inc..
57 This software is copyright (c) 2013 by Infinity Interactive, Inc..
5858
5959 This is free software; you can redistribute it and/or modify it under
6060 the same terms as the Perl 5 programming language system itself.
6161
6262 =cut
63
64
65 __END__
66
22 $Moose::Meta::Role::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::Role::VERSION = '2.0604';
5 $Moose::Meta::Role::VERSION = '2.0800';
66 }
77
88 use strict;
732732
733733 # ABSTRACT: The Moose Role metaclass
734734
735
735 __END__
736736
737737 =pod
738738
742742
743743 =head1 VERSION
744744
745 version 2.0604
745 version 2.0800
746746
747747 =head1 DESCRIPTION
748748
10361036
10371037 =head1 COPYRIGHT AND LICENSE
10381038
1039 This software is copyright (c) 2012 by Infinity Interactive, Inc..
1039 This software is copyright (c) 2013 by Infinity Interactive, Inc..
10401040
10411041 This is free software; you can redistribute it and/or modify it under
10421042 the same terms as the Perl 5 programming language system itself.
10431043
10441044 =cut
1045
1046
1047 __END__
1048
33 $Moose::Meta::TypeCoercion::Union::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::TypeCoercion::Union::VERSION = '2.0604';
6 $Moose::Meta::TypeCoercion::Union::VERSION = '2.0800';
77 }
88
99 use strict;
4848
4949 # ABSTRACT: The Moose Type Coercion metaclass for Unions
5050
51
51 __END__
5252
5353 =pod
5454
5858
5959 =head1 VERSION
6060
61 version 2.0604
61 version 2.0800
6262
6363 =head1 DESCRIPTION
6464
9494
9595 =head1 COPYRIGHT AND LICENSE
9696
97 This software is copyright (c) 2012 by Infinity Interactive, Inc..
97 This software is copyright (c) 2013 by Infinity Interactive, Inc..
9898
9999 This is free software; you can redistribute it and/or modify it under
100100 the same terms as the Perl 5 programming language system itself.
101101
102102 =cut
103
104
105 __END__
106
33 $Moose::Meta::TypeCoercion::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::TypeCoercion::VERSION = '2.0604';
6 $Moose::Meta::TypeCoercion::VERSION = '2.0800';
77 }
88
99 use strict;
105105
106106 # ABSTRACT: The Moose Type Coercion metaclass
107107
108
108 __END__
109109
110110 =pod
111111
115115
116116 =head1 VERSION
117117
118 version 2.0604
118 version 2.0800
119119
120120 =head1 DESCRIPTION
121121
192192
193193 =head1 COPYRIGHT AND LICENSE
194194
195 This software is copyright (c) 2012 by Infinity Interactive, Inc..
195 This software is copyright (c) 2013 by Infinity Interactive, Inc..
196196
197197 This is free software; you can redistribute it and/or modify it under
198198 the same terms as the Perl 5 programming language system itself.
199199
200200 =cut
201
202
203 __END__
204
22 $Moose::Meta::TypeConstraint::Class::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::TypeConstraint::Class::VERSION = '2.0604';
5 $Moose::Meta::TypeConstraint::Class::VERSION = '2.0800';
66 }
77
88 use strict;
136136
137137 # ABSTRACT: Class/TypeConstraint parallel hierarchy
138138
139
139 __END__
140140
141141 =pod
142142
146146
147147 =head1 VERSION
148148
149 version 2.0604
149 version 2.0800
150150
151151 =head1 DESCRIPTION
152152
217217
218218 =head1 COPYRIGHT AND LICENSE
219219
220 This software is copyright (c) 2012 by Infinity Interactive, Inc..
220 This software is copyright (c) 2013 by Infinity Interactive, Inc..
221221
222222 This is free software; you can redistribute it and/or modify it under
223223 the same terms as the Perl 5 programming language system itself.
224224
225225 =cut
226
227
228 __END__
229
22 $Moose::Meta::TypeConstraint::DuckType::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::TypeConstraint::DuckType::VERSION = '2.0604';
5 $Moose::Meta::TypeConstraint::DuckType::VERSION = '2.0800';
66 }
77
88 use strict;
109109
110110 # ABSTRACT: Type constraint for duck typing
111111
112
112 __END__
113113
114114 =pod
115115
119119
120120 =head1 VERSION
121121
122 version 2.0604
122 version 2.0800
123123
124124 =head1 DESCRIPTION
125125
173173
174174 =head1 COPYRIGHT AND LICENSE
175175
176 This software is copyright (c) 2012 by Infinity Interactive, Inc..
176 This software is copyright (c) 2013 by Infinity Interactive, Inc..
177177
178178 This is free software; you can redistribute it and/or modify it under
179179 the same terms as the Perl 5 programming language system itself.
180180
181181 =cut
182
183
184 __END__
185
186
22 $Moose::Meta::TypeConstraint::Enum::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::TypeConstraint::Enum::VERSION = '2.0604';
5 $Moose::Meta::TypeConstraint::Enum::VERSION = '2.0800';
66 }
77
88 use strict;
111111
112112 # ABSTRACT: Type constraint for enumerated values.
113113
114
114 __END__
115115
116116 =pod
117117
121121
122122 =head1 VERSION
123123
124 version 2.0604
124 version 2.0800
125125
126126 =head1 DESCRIPTION
127127
175175
176176 =head1 COPYRIGHT AND LICENSE
177177
178 This software is copyright (c) 2012 by Infinity Interactive, Inc..
178 This software is copyright (c) 2013 by Infinity Interactive, Inc..
179179
180180 This is free software; you can redistribute it and/or modify it under
181181 the same terms as the Perl 5 programming language system itself.
182182
183183 =cut
184
185
186 __END__
187
188
189
22 $Moose::Meta::TypeConstraint::Parameterizable::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::TypeConstraint::Parameterizable::VERSION = '2.0604';
5 $Moose::Meta::TypeConstraint::Parameterizable::VERSION = '2.0800';
66 }
77
88 use strict;
104104
105105 # ABSTRACT: Type constraints which can take a parameter (ArrayRef)
106106
107
107 __END__
108108
109109 =pod
110110
114114
115115 =head1 VERSION
116116
117 version 2.0604
117 version 2.0800
118118
119119 =head1 DESCRIPTION
120120
148148
149149 =head1 COPYRIGHT AND LICENSE
150150
151 This software is copyright (c) 2012 by Infinity Interactive, Inc..
151 This software is copyright (c) 2013 by Infinity Interactive, Inc..
152152
153153 This is free software; you can redistribute it and/or modify it under
154154 the same terms as the Perl 5 programming language system itself.
155155
156156 =cut
157
158
159 __END__
160
161
22 $Moose::Meta::TypeConstraint::Parameterized::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::TypeConstraint::Parameterized::VERSION = '2.0604';
5 $Moose::Meta::TypeConstraint::Parameterized::VERSION = '2.0800';
66 }
77
88 use strict;
109109
110110 # ABSTRACT: Type constraints with a bound parameter (ArrayRef[Int])
111111
112
112 __END__
113113
114114 =pod
115115
119119
120120 =head1 VERSION
121121
122 version 2.0604
122 version 2.0800
123123
124124 =head1 METHODS
125125
141141
142142 =head1 COPYRIGHT AND LICENSE
143143
144 This software is copyright (c) 2012 by Infinity Interactive, Inc..
144 This software is copyright (c) 2013 by Infinity Interactive, Inc..
145145
146146 This is free software; you can redistribute it and/or modify it under
147147 the same terms as the Perl 5 programming language system itself.
148148
149149 =cut
150
151
152 __END__
153
154
33 $Moose::Meta::TypeConstraint::Registry::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::TypeConstraint::Registry::VERSION = '2.0604';
6 $Moose::Meta::TypeConstraint::Registry::VERSION = '2.0800';
77 }
88
99 use strict;
6868
6969 # ABSTRACT: registry for type constraints
7070
71
71 __END__
7272
7373 =pod
7474
7878
7979 =head1 VERSION
8080
81 version 2.0604
81 version 2.0800
8282
8383 =head1 DESCRIPTION
8484
160160
161161 =head1 COPYRIGHT AND LICENSE
162162
163 This software is copyright (c) 2012 by Infinity Interactive, Inc..
163 This software is copyright (c) 2013 by Infinity Interactive, Inc..
164164
165165 This is free software; you can redistribute it and/or modify it under
166166 the same terms as the Perl 5 programming language system itself.
167167
168168 =cut
169
170
171 __END__
172
173
22 $Moose::Meta::TypeConstraint::Role::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Meta::TypeConstraint::Role::VERSION = '2.0604';
5 $Moose::Meta::TypeConstraint::Role::VERSION = '2.0800';
66 }
77
88 use strict;
9797
9898 if ( not ref $type_or_name_or_role ) {
9999 # it might be a role
100 return 1 if Class::MOP::class_of($self->role)->does_role( $type_or_name_or_role );
100 my $class = Class::MOP::class_of($self->role);
101 return 1 if defined($class) && $class->does_role( $type_or_name_or_role );
101102 }
102103
103104 my $type = Moose::Util::TypeConstraints::find_type_constraint($type_or_name_or_role);
107108 if ( $type->isa(__PACKAGE__) ) {
108109 # if $type_or_name_or_role isn't a role, it might be the TC name of another ::Role type
109110 # or it could also just be a type object in this branch
110 return Class::MOP::class_of($self->role)->does_role( $type->role );
111 my $class = Class::MOP::class_of($self->role);
112 return defined($class) && $class->does_role( $type->role );
111113 } else {
112114 # the only other thing we are a subtype of is Object
113115 $self->SUPER::is_subtype_of($type);
123125
124126 # ABSTRACT: Role/TypeConstraint parallel hierarchy
125127
126
128 __END__
127129
128130 =pod
129131
133135
134136 =head1 VERSION
135137
136 version 2.0604
138 version 2.0800
137139
138140 =head1 DESCRIPTION
139141
198200
199201 =head1 COPYRIGHT AND LICENSE
200202
201 This software is copyright (c) 2012 by Infinity Interactive, Inc..
203 This software is copyright (c) 2013 by Infinity Interactive, Inc..
202204
203205 This is free software; you can redistribute it and/or modify it under
204206 the same terms as the Perl 5 programming language system itself.
205207
206208 =cut
207
208
209 __END__
210
33 $Moose::Meta::TypeConstraint::Union::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::TypeConstraint::Union::VERSION = '2.0604';
6 $Moose::Meta::TypeConstraint::Union::VERSION = '2.0800';
77 }
88
99 use strict;
3434 %options,
3535 );
3636
37 $self->_set_constraint(sub { $self->check($_[0]) });
37 $self->_set_constraint( $self->_compiled_type_constraint );
3838
3939 return $self;
4040 }
202202
203203 # ABSTRACT: A union of Moose type constraints
204204
205
205 __END__
206206
207207 =pod
208208
212212
213213 =head1 VERSION
214214
215 version 2.0604
215 version 2.0800
216216
217217 =head1 DESCRIPTION
218218
302302
303303 =head1 COPYRIGHT AND LICENSE
304304
305 This software is copyright (c) 2012 by Infinity Interactive, Inc..
305 This software is copyright (c) 2013 by Infinity Interactive, Inc..
306306
307307 This is free software; you can redistribute it and/or modify it under
308308 the same terms as the Perl 5 programming language system itself.
309309
310310 =cut
311
312
313 __END__
314
33 $Moose::Meta::TypeConstraint::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Meta::TypeConstraint::VERSION = '2.0604';
6 $Moose::Meta::TypeConstraint::VERSION = '2.0800';
77 }
88
99 use strict;
435435
436436 # ABSTRACT: The Moose Type Constraint metaclass
437437
438
438 __END__
439439
440440 =pod
441441
445445
446446 =head1 VERSION
447447
448 version 2.0604
448 version 2.0800
449449
450450 =head1 DESCRIPTION
451451
646646
647647 =head1 COPYRIGHT AND LICENSE
648648
649 This software is copyright (c) 2012 by Infinity Interactive, Inc..
649 This software is copyright (c) 2013 by Infinity Interactive, Inc..
650650
651651 This is free software; you can redistribute it and/or modify it under
652652 the same terms as the Perl 5 programming language system itself.
653653
654654 =cut
655
656
657 __END__
658
33 $Moose::Object::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Object::VERSION = '2.0604';
6 $Moose::Object::VERSION = '2.0800';
77 }
88
99 use strict;
136136
137137 # ABSTRACT: The base object for Moose
138138
139
139 __END__
140140
141141 =pod
142142
146146
147147 =head1 VERSION
148148
149 version 2.0604
149 version 2.0800
150150
151151 =head1 DESCRIPTION
152152
221221
222222 =head1 COPYRIGHT AND LICENSE
223223
224 This software is copyright (c) 2012 by Infinity Interactive, Inc..
224 This software is copyright (c) 2013 by Infinity Interactive, Inc..
225225
226226 This is free software; you can redistribute it and/or modify it under
227227 the same terms as the Perl 5 programming language system itself.
228228
229229 =cut
230
231
232 __END__
233
22 $Moose::Role::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Role::VERSION = '2.0604';
5 $Moose::Role::VERSION = '2.0800';
66 }
77 use strict;
88 use warnings;
4444 my $meta = shift;
4545 my $name = shift;
4646 croak 'Usage: has \'name\' => ( key => value, ... )' if @_ == 1;
47 my %options = ( definition_context => Moose::Util::_caller_info(), @_ );
47 my %context = Moose::Util::_caller_info;
48 $context{context} = 'has declaration';
49 $context{type} = 'role';
50 my %options = ( definition_context => \%context, @_ );
4851 my $attrs = ( ref($name) eq 'ARRAY' ) ? $name : [ ($name) ];
4952 $meta->add_attribute( $_, %options ) for @$attrs;
5053 }
158161
159162 # ABSTRACT: The Moose Role
160163
161
164 __END__
162165
163166 =pod
164167
168171
169172 =head1 VERSION
170173
171 version 2.0604
174 version 2.0800
172175
173176 =head1 SYNOPSIS
174177
316319
317320 =head1 COPYRIGHT AND LICENSE
318321
319 This software is copyright (c) 2012 by Infinity Interactive, Inc..
322 This software is copyright (c) 2013 by Infinity Interactive, Inc..
320323
321324 This is free software; you can redistribute it and/or modify it under
322325 the same terms as the Perl 5 programming language system itself.
323326
324327 =cut
325
326
327 __END__
328
11
22 # ABSTRACT: Formal spec for Role behavior
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 DESCRIPTION
1717
345345
346346 =head1 COPYRIGHT AND LICENSE
347347
348 This software is copyright (c) 2012 by Infinity Interactive, Inc..
348 This software is copyright (c) 2013 by Infinity Interactive, Inc..
349349
350350 This is free software; you can redistribute it and/or modify it under
351351 the same terms as the Perl 5 programming language system itself.
352352
353353 =cut
354
355
356 __END__
357
358
359
11
22 # ABSTRACT: Moved to Moose::Manual::Unsweetened, so go read that
33
4
4 __END__
55
66 =pod
77
1111
1212 =head1 VERSION
1313
14 version 2.0604
14 version 2.0800
1515
1616 =head1 DESCRIPTION
1717
2525
2626 =head1 COPYRIGHT AND LICENSE
2727
28 This software is copyright (c) 2012 by Infinity Interactive, Inc..
28 This software is copyright (c) 2013 by Infinity Interactive, Inc..
2929
3030 This is free software; you can redistribute it and/or modify it under
3131 the same terms as the Perl 5 programming language system itself.
3232
3333 =cut
34
35
36 __END__
37
22 $Moose::Util::MetaRole::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Util::MetaRole::VERSION = '2.0604';
5 $Moose::Util::MetaRole::VERSION = '2.0800';
66 }
77
88 use strict;
141141
142142 # ABSTRACT: Apply roles to any metaclass, as well as the object base class
143143
144
144 __END__
145145
146146 =pod
147147
151151
152152 =head1 VERSION
153153
154 version 2.0604
154 version 2.0800
155155
156156 =head1 SYNOPSIS
157157
302302
303303 =head1 COPYRIGHT AND LICENSE
304304
305 This software is copyright (c) 2012 by Infinity Interactive, Inc..
305 This software is copyright (c) 2013 by Infinity Interactive, Inc..
306306
307307 This is free software; you can redistribute it and/or modify it under
308308 the same terms as the Perl 5 programming language system itself.
309309
310310 =cut
311
312
313 __END__
314
22 $Moose::Util::TypeConstraints::Builtins::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Util::TypeConstraints::Builtins::VERSION = '2.0604';
5 $Moose::Util::TypeConstraints::Builtins::VERSION = '2.0800';
66 }
77
88 use strict;
33 $Moose::Util::TypeConstraints::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $Moose::Util::TypeConstraints::VERSION = '2.0604';
6 $Moose::Util::TypeConstraints::VERSION = '2.0800';
77 }
88
99 use Carp ();
760760
761761 # ABSTRACT: Type constraint system for Moose
762762
763
763 __END__
764764
765765 =pod
766766
770770
771771 =head1 VERSION
772772
773 version 2.0604
773 version 2.0800
774774
775775 =head1 SYNOPSIS
776776
845845 that hierarchy represented visually.
846846
847847 Any
848 Item
849 Bool
850 Maybe[`a]
851 Undef
852 Defined
853 Value
854 Str
855 Num
856 Int
857 ClassName
858 RoleName
859 Ref
860 ScalarRef[`a]
861 ArrayRef[`a]
862 HashRef[`a]
863 CodeRef
864 RegexpRef
865 GlobRef
866 FileHandle
867 Object
848 Item
849 Bool
850 Maybe[`a]
851 Undef
852 Defined
853 Value
854 Str
855 Num
856 Int
857 ClassName
858 RoleName
859 Ref
860 ScalarRef[`a]
861 ArrayRef[`a]
862 HashRef[`a]
863 CodeRef
864 RegexpRef
865 GlobRef
866 FileHandle
867 Object
868868
869869 B<NOTE:> Any type followed by a type parameter C<[`a]> can be
870870 parameterized, this means you can say:
14211421
14221422 =head1 COPYRIGHT AND LICENSE
14231423
1424 This software is copyright (c) 2012 by Infinity Interactive, Inc..
1424 This software is copyright (c) 2013 by Infinity Interactive, Inc..
14251425
14261426 This is free software; you can redistribute it and/or modify it under
14271427 the same terms as the Perl 5 programming language system itself.
14281428
14291429 =cut
1430
1431
1432 __END__
1433
22 $Moose::Util::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::Util::VERSION = '2.0604';
5 $Moose::Util::VERSION = '2.0800';
66 }
77
88 use strict;
284284 my $level = @_ ? ($_[0] + 1) : 2;
285285 my %info;
286286 @info{qw(package file line)} = caller($level);
287 return \%info;
287 return %info;
288288 }
289289
290290 sub _create_alias {
479479
480480 # ABSTRACT: Utilities for working with Moose classes
481481
482
482 __END__
483483
484484 =pod
485485
489489
490490 =head1 VERSION
491491
492 version 2.0604
492 version 2.0800
493493
494494 =head1 SYNOPSIS
495495
623623
624624 =head1 COPYRIGHT AND LICENSE
625625
626 This software is copyright (c) 2012 by Infinity Interactive, Inc..
626 This software is copyright (c) 2013 by Infinity Interactive, Inc..
627627
628628 This is free software; you can redistribute it and/or modify it under
629629 the same terms as the Perl 5 programming language system itself.
630630
631631 =cut
632
633
634 __END__
635
636
22 $Moose::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Moose::VERSION = '2.0604';
5 $Moose::VERSION = '2.0800';
66 }
77 use strict;
88 use warnings;
1010 use 5.008;
1111
1212 use Scalar::Util 'blessed';
13 use Carp 'confess';
13 use Carp 'carp', 'confess';
1414 use Class::Load 'is_class_loaded';
15
1615
1716 use Moose::Deprecated;
1817 use Moose::Exporter;
7372 Moose->throw_error('Usage: has \'name\' => ( key => value, ... )')
7473 if @_ % 2 == 1;
7574
76 my %options = ( definition_context => Moose::Util::_caller_info(), @_ );
75 my %context = Moose::Util::_caller_info;
76 $context{context} = 'has declaration';
77 $context{type} = 'class';
78 my %options = ( definition_context => \%context, @_ );
7779 my $attrs = ( ref($name) eq 'ARRAY' ) ? $name : [ ($name) ];
7880 $meta->add_attribute( $_, %options ) for @$attrs;
7981 }
9597 our @SUPER_ARGS;
9698
9799 sub super {
100 if (@_) {
101 carp 'Arguments passed to super() are ignored';
102 }
103
98104 # This check avoids a recursion loop - see
99105 # t/bugs/super_recursion.t
100106 return if defined $SUPER_PACKAGE && $SUPER_PACKAGE ne caller();
277283
278284 # ABSTRACT: A postmodern object system for Perl 5
279285
280
286 __END__
281287
282288 =pod
283289
287293
288294 =head1 VERSION
289295
290 version 2.0604
296 version 2.0800
291297
292298 =head1 SYNOPSIS
293299
957963 This channel is quite active, and questions at all levels (on Moose-related
958964 topics ;) are welcome.
959965
966 =head1 WHAT DOES MOOSE STAND FOR?
967
968 Moose doesn't stand for one thing in particular, however, if you want, here
969 are a few of our favorites. Feel free to contribute more!
970
971 =over 4
972
973 =item * Make Other Object Systems Envious
974
975 =item * Makes Object Orientation So Easy
976
977 =item * Makes Object Orientation Spiffy- Er (sorry ingy)
978
979 =item * Most Other Object Systems Emasculate
980
981 =item * Moose Often Ovulate Sorta Early
982
983 =item * Moose Offers Often Super Extensions
984
985 =item * Meta Object Obligates Salivary Excitation
986
987 =item * Meta Object Orientation Syntax Extensions
988
989 =back
990
960991 =head1 ACKNOWLEDGEMENTS
961992
962993 =over 4
10811112
10821113 Dave (autarch) Rolsky E<lt>autarch@urth.orgE<gt>
10831114
1115 Karen (ether) Etheridge E<lt>ether@cpan.orgE<gt>
1116
10841117 =head1 CONTRIBUTORS
10851118
10861119 Moose is a community project, and as such, involves the work of many, many
11871220
11881221 =head1 COPYRIGHT AND LICENSE
11891222
1190 This software is copyright (c) 2012 by Infinity Interactive, Inc..
1223 This software is copyright (c) 2013 by Infinity Interactive, Inc..
11911224
11921225 This is free software; you can redistribute it and/or modify it under
11931226 the same terms as the Perl 5 programming language system itself.
11941227
11951228 =cut
1196
1197
1198 __END__
1199
22 $Test::Moose::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $Test::Moose::VERSION = '2.0604';
5 $Test::Moose::VERSION = '2.0800';
66 }
77
88 use strict;
8787
8888 # ABSTRACT: Test functions for Moose specific features
8989
90
90 __END__
9191
9292 =pod
9393
9797
9898 =head1 VERSION
9999
100 version 2.0604
100 version 2.0800
101101
102102 =head1 SYNOPSIS
103103
178178
179179 =head1 COPYRIGHT AND LICENSE
180180
181 This software is copyright (c) 2012 by Infinity Interactive, Inc..
181 This software is copyright (c) 2013 by Infinity Interactive, Inc..
182182
183183 This is free software; you can redistribute it and/or modify it under
184184 the same terms as the Perl 5 programming language system itself.
185185
186186 =cut
187
188
189 __END__
190
191
33 $metaclass::AUTHORITY = 'cpan:STEVAN';
44 }
55 {
6 $metaclass::VERSION = '2.0604';
6 $metaclass::VERSION = '2.0800';
77 }
88
99 use strict;
5353
5454 # ABSTRACT: a pragma for installing and using Class::MOP metaclasses
5555
56
56 __END__
5757
5858 =pod
5959
6363
6464 =head1 VERSION
6565
66 version 2.0604
66 version 2.0800
6767
6868 =head1 SYNOPSIS
6969
112112
113113 =head1 COPYRIGHT AND LICENSE
114114
115 This software is copyright (c) 2012 by Infinity Interactive, Inc..
115 This software is copyright (c) 2013 by Infinity Interactive, Inc..
116116
117117 This is free software; you can redistribute it and/or modify it under
118118 the same terms as the Perl 5 programming language system itself.
119119
120120 =cut
121
122
123 __END__
124
22 $oose::AUTHORITY = 'cpan:STEVAN';
33 }
44 {
5 $oose::VERSION = '2.0604';
5 $oose::VERSION = '2.0800';
66 }
77
88 use strict;
2626
2727 # ABSTRACT: syntactic sugar to make Moose one-liners easier
2828
29
29 __END__
3030
3131 =pod
3232
3636
3737 =head1 VERSION
3838
39 version 2.0604
39 version 2.0800
4040
4141 =head1 SYNOPSIS
4242
8989
9090 =head1 COPYRIGHT AND LICENSE
9191
92 This software is copyright (c) 2012 by Infinity Interactive, Inc..
92 This software is copyright (c) 2013 by Infinity Interactive, Inc..
9393
9494 This is free software; you can redistribute it and/or modify it under
9595 the same terms as the Perl 5 programming language system itself.
9696
9797 =cut
98
99
100 __END__
101
0 use strict;
1 use warnings;
2
3 use Test::Requires {
4 'Test::Output' => '0.01',
5 };
6
7 use Test::More;
8
9 {
10 package Parent;
11 use Moose;
12
13 sub foo { 42 }
14 sub bar { 42 }
15
16 package Child;
17 use Moose;
18
19 extends 'Parent';
20
21 override foo => sub {
22 super( 1, 2, 3 );
23 };
24
25 override bar => sub {
26 super();
27 };
28 }
29
30 {
31 my $file = __FILE__;
32
33 stderr_like(
34 sub { Child->new->foo },
35 qr/\QArguments passed to super() are ignored at $file/,
36 'got a warning when passing args to super() call'
37 );
38
39 stderr_is(
40 sub { Child->new->bar },
41 q{},
42 'no warning on super() call without arguments'
43 );
44 }
45
46 done_testing();
22
33 use Test::More;
44 use Test::Fatal;
5
6 BEGIN {
7 plan skip_all => "preloading things makes this test meaningless"
8 if exists $INC{'Moose.pm'};
9 }
510
611 use Moose::Meta::Class;
712
0 #!/usr/bin/perl
1
2 use strict;
3 use warnings;
4
5 use Test::More;
6 use Test::Fatal;
7
8 # OKSet1
9 {
10
11 package TESTING::MooseExporter::Rt63818::OKSet1::ModuleA;
12 use Moose ();
13 Moose::Exporter->setup_import_methods(
14 also => [
15 'Moose',
16 ]
17 );
18 }
19
20 # OKSet2
21 {
22
23 package TESTING::MooseExporter::Rt63818::OKSet2::ModuleA;
24 use Moose ();
25 Moose::Exporter->setup_import_methods(
26 also => [
27 'Moose',
28 ]
29 );
30
31 package TESTING::MooseExporter::Rt63818::OKSet2::ModuleB;
32 use Moose ();
33 Moose::Exporter->setup_import_methods(
34 also => [
35 'Moose',
36 ]
37 );
38 }
39
40 # OKSet3
41 {
42
43 package TESTING::MooseExporter::Rt63818::OKSet3::ModuleA;
44 use Moose ();
45 Moose::Exporter->setup_import_methods(
46 also => [
47 'Moose',
48 ]
49 );
50
51 package TESTING::MooseExporter::Rt63818::OKSet3::ModuleB;
52 use Moose ();
53 Moose::Exporter->setup_import_methods(
54 also => [
55 'Moose',
56 'TESTING::MooseExporter::Rt63818::OKSet3::ModuleA',
57 ]
58 );
59 }
60
61 # OKSet4
62 {
63
64 package TESTING::MooseExporter::Rt63818::OKSet4::ModuleA;
65 use Moose ();
66 Moose::Exporter->setup_import_methods(
67 also => [
68 'Moose',
69 ]
70 );
71
72 package TESTING::MooseExporter::Rt63818::OKSet4::ModuleB;
73 use Moose ();
74 Moose::Exporter->setup_import_methods(
75 also => [
76 'Moose',
77 'TESTING::MooseExporter::Rt63818::OKSet4::ModuleA',
78 ]
79 );
80
81 package TESTING::MooseExporter::Rt63818::OKSet4::ModuleC;
82 use Moose ();
83 Moose::Exporter->setup_import_methods(
84 also => [
85 'Moose',
86 'TESTING::MooseExporter::Rt63818::OKSet4::ModuleA',
87 'TESTING::MooseExporter::Rt63818::OKSet4::ModuleB',
88 ]
89 );
90 }
91
92 # OKSet5
93 {
94
95 package TESTING::MooseExporter::Rt63818::OKSet5::ModuleA;
96 use Moose ();
97 Moose::Exporter->setup_import_methods(
98 also => [
99 'Moose',
100 ]
101 );
102
103 package TESTING::MooseExporter::Rt63818::OKSet5::ModuleB;
104 use Moose ();
105 Moose::Exporter->setup_import_methods(
106 also => [
107 'Moose',
108 'TESTING::MooseExporter::Rt63818::OKSet5::ModuleA',
109 ]
110 );
111
112 package TESTING::MooseExporter::Rt63818::OKSet5::ModuleC;
113 use Moose ();
114 Moose::Exporter->setup_import_methods(
115 also => [
116 'Moose',
117 'TESTING::MooseExporter::Rt63818::OKSet5::ModuleA',
118 'TESTING::MooseExporter::Rt63818::OKSet5::ModuleB',
119 ]
120 );
121
122 package TESTING::MooseExporter::Rt63818::OKSet5::ModuleD;
123 use Moose ();
124 Moose::Exporter->setup_import_methods(
125 also => [
126 'Moose',
127 'TESTING::MooseExporter::Rt63818::OKSet5::ModuleA',
128 'TESTING::MooseExporter::Rt63818::OKSet5::ModuleC',
129 ]
130 );
131 }
132
133 # NotOKSet1
134 {
135
136 package TESTING::MooseExporter::Rt63818::NotOKSet1::ModuleA;
137 use Moose ();
138 ::like(
139 ::exception { Moose::Exporter->setup_import_methods(
140 also => [
141 'Moose',
142 'TESTING::MooseExporter::Rt63818::NotOKSet1::ModuleA',
143 ]
144 )
145 },
146 qr/\QCircular reference in 'also' parameter to Moose::Exporter between TESTING::MooseExporter::Rt63818::NotOKSet1::ModuleA and TESTING::MooseExporter::Rt63818::NotOKSet1::ModuleA/,
147 'a single-hop circular reference in also dies with an error'
148 );
149 }
150
151 # Alas, I've not figured out how to craft a test which shows that we get the
152 # same error for multi-hop circularity... instead I get tests that die because
153 # one of the circularly-referenced things was not loaded.
154
155 done_testing;
0 #!/usr/bin/perl
1
2 use lib "t/lib";
3 use strict;
4 use warnings;
5
6 use Test::More;
7
8 BEGIN {
9 package MyExporterRole;
10
11 use Moose ();
12 use Moose::Exporter;
13
14 Moose::Exporter->setup_import_methods(
15 also => 'Moose',
16 );
17
18 sub init_meta {
19 my ($class,%args) = @_;
20
21 my $meta = Moose->init_meta( %args );
22
23 Moose::Util::MetaRole::apply_metaroles(
24 for => $meta,
25 class_metaroles => {
26 class => ['MyMetaRole'],
27 },
28 );
29
30 return $meta;
31 }
32
33 $INC{'MyExporterRole.pm'} = __FILE__;
34 }
35
36 {
37 package MyMetaRole;
38 use Moose::Role;
39
40 sub some_meta_class_method {
41 return "HEY"
42 }
43 }
44
45 {
46 package MyTrait;
47 use Moose::Role;
48
49 sub some_meta_class_method_defined_by_trait {
50 return "HO"
51 }
52
53 {
54 package Moose::Meta::Class::Custom::Trait::MyClassTrait;
55 use strict;
56 use warnings;
57 sub register_implementation { return 'MyTrait' }
58 }
59 }
60
61 {
62 package MyClass;
63 use MyExporterRole -traits => 'MyClassTrait';
64 }
65
66
67
68 my $my_class = MyClass->new;
69
70 isa_ok($my_class,'MyClass');
71
72 my $meta = $my_class->meta();
73 # Check if MyMetaRole has been applied
74 ok($meta->can('some_meta_class_method'),'Meta class has some_meta_class_method');
75 # Check if MyTrait has been applied
76 ok($meta->can('some_meta_class_method_defined_by_trait'),'Meta class has some_meta_class_method_defined_by_trait');
77
78 done_testing;
00 use strict;
11 use warnings;
2
3 # for instance, App::ForkProve
4 my $preloaded;
5 BEGIN { $preloaded = exists $INC{'Class/MOP.pm'} }
26
37 use Test::More;
48
7074 }
7175 }
7276
73 is_deeply(
74 {Class::MOP::get_all_metaclasses},
75 \%METAS,
76 '... got all the metaclasses'
77 );
77 SKIP: {
78 skip "this list may be incorrect if we preloaded things", 3 if $preloaded;
79 is_deeply(
80 {Class::MOP::get_all_metaclasses},
81 \%METAS,
82 '... got all the metaclasses'
83 );
7884
79 is_deeply(
80 [
81 sort { $a->name cmp $b->name } Class::MOP::get_all_metaclass_instances
82 ],
83 [
84 Class::MOP::Attribute->meta,
85 Class::MOP::Class->meta,
86 Class::MOP::Class::Immutable::Class::MOP::Class->meta,
87 Class::MOP::class_of('Class::MOP::Class::Immutable::Trait'),
88 Class::MOP::Instance->meta,
89 Class::MOP::Method->meta,
90 Class::MOP::Method::Accessor->meta,
91 Class::MOP::Method::Constructor->meta,
92 Class::MOP::Method::Generated->meta,
93 Class::MOP::Method::Inlined->meta,
94 Class::MOP::Method::Meta->meta,
95 Class::MOP::Method::Overload->meta,
96 Class::MOP::Method::Wrapped->meta,
97 Class::MOP::Mixin->meta,
98 Class::MOP::Mixin::AttributeCore->meta,
99 Class::MOP::Mixin::HasAttributes->meta,
100 Class::MOP::Mixin::HasMethods->meta,
101 Class::MOP::Module->meta,
102 Class::MOP::Object->meta,
103 Class::MOP::Package->meta,
104 Class::MOP::class_of('UNIVERSAL'),
105 ],
106 '... got all the metaclass instances'
107 );
85 is_deeply(
86 [
87 sort { $a->name cmp $b->name }
88 Class::MOP::get_all_metaclass_instances
89 ],
90 [
91 Class::MOP::Attribute->meta,
92 Class::MOP::Class->meta,
93 Class::MOP::Class::Immutable::Class::MOP::Class->meta,
94 Class::MOP::class_of('Class::MOP::Class::Immutable::Trait'),
95 Class::MOP::Instance->meta,
96 Class::MOP::Method->meta,
97 Class::MOP::Method::Accessor->meta,
98 Class::MOP::Method::Constructor->meta,
99 Class::MOP::Method::Generated->meta,
100 Class::MOP::Method::Inlined->meta,
101 Class::MOP::Method::Meta->meta,
102 Class::MOP::Method::Overload->meta,
103 Class::MOP::Method::Wrapped->meta,
104 Class::MOP::Mixin->meta,
105 Class::MOP::Mixin::AttributeCore->meta,
106 Class::MOP::Mixin::HasAttributes->meta,
107 Class::MOP::Mixin::HasMethods->meta,
108 Class::MOP::Module->meta,
109 Class::MOP::Object->meta,
110 Class::MOP::Package->meta,
111 Class::MOP::class_of('UNIVERSAL'),
112 ],
113 '... got all the metaclass instances'
114 );
108115
109 is_deeply(
110 [ sort { $a cmp $b } Class::MOP::get_all_metaclass_names() ],
111 [
112 sort qw/
113 Class::MOP::Attribute
114 Class::MOP::Class
115 Class::MOP::Class::Immutable::Class::MOP::Class
116 Class::MOP::Class::Immutable::Trait
117 Class::MOP::Mixin
118 Class::MOP::Mixin::AttributeCore
119 Class::MOP::Mixin::HasAttributes
120 Class::MOP::Mixin::HasMethods
121 Class::MOP::Instance
122 Class::MOP::Method
123 Class::MOP::Method::Accessor
124 Class::MOP::Method::Constructor
125 Class::MOP::Method::Generated
126 Class::MOP::Method::Inlined
127 Class::MOP::Method::Wrapped
128 Class::MOP::Method::Meta
129 Class::MOP::Method::Overload
130 Class::MOP::Module
131 Class::MOP::Object
132 Class::MOP::Package
133 UNIVERSAL
134 /,
135 ],
136 '... got all the metaclass names'
137 );
116 is_deeply(
117 [ sort { $a cmp $b } Class::MOP::get_all_metaclass_names() ],
118 [
119 sort qw/
120 Class::MOP::Attribute
121 Class::MOP::Class
122 Class::MOP::Class::Immutable::Class::MOP::Class
123 Class::MOP::Class::Immutable::Trait
124 Class::MOP::Mixin
125 Class::MOP::Mixin::AttributeCore
126 Class::MOP::Mixin::HasAttributes
127 Class::MOP::Mixin::HasMethods
128 Class::MOP::Instance
129 Class::MOP::Method
130 Class::MOP::Method::Accessor
131 Class::MOP::Method::Constructor
132 Class::MOP::Method::Generated
133 Class::MOP::Method::Inlined
134 Class::MOP::Method::Wrapped
135 Class::MOP::Method::Meta
136 Class::MOP::Method::Overload
137 Class::MOP::Module
138 Class::MOP::Object
139 Class::MOP::Package
140 UNIVERSAL
141 /,
142 ],
143 '... got all the metaclass names'
144 );
145 }
138146
139147 # testing the meta-circularity of the system
140148
412412 my $baz_meta = Class::MOP::Class->initialize('Baz');
413413 $baz_meta->add_method(foo => sub { });
414414 my $stash = Package::Stash->new('Baz');
415 $stash->remove_package_symbol('&foo');
415 $stash->remove_symbol('&foo');
416416 is_deeply([$baz_meta->get_method_list], [], "method is deleted");
417417 ok(!Baz->can('foo'), "Baz can't foo");
418418 }
0 #!/usr/bin/perl
1
2 use strict;
3 use warnings;
4
5 use Test::More;
6
7
8 {
9 package Human;
10
11 use Moose;
12 use Moose::Util::TypeConstraints;
13
14 subtype 'Sex'
15 => as 'Str'
16 => where { $_ =~ m{^[mf]$}s };
17
18 has 'sex' => ( is => 'ro', isa => 'Sex', required => 1 );
19
20 has 'mother' => ( is => 'ro', isa => 'Human' );
21 has 'father' => ( is => 'ro', isa => 'Human' );
22
23 use overload '+' => \&_overload_add, fallback => 1;
24
25 sub _overload_add {
26 my ( $one, $two ) = @_;
27
28 die('Only male and female humans may create children')
29 if ( $one->sex() eq $two->sex() );
30
31 my ( $mother, $father )
32 = ( $one->sex eq 'f' ? ( $one, $two ) : ( $two, $one ) );
33
34 my $sex = 'f';
35 $sex = 'm' if ( rand() >= 0.5 );
36
37 return Human->new(
38 sex => $sex,
39 eye_color => ( $one->eye_color() + $two->eye_color() ),
40 mother => $mother,
41 father => $father,
42 );
43 }
44
45 use List::MoreUtils qw( zip );
46
47 coerce 'Human::EyeColor'
48 => from 'ArrayRef'
49 => via { my @genes = qw( bey2_1 bey2_2 gey_1 gey_2 );
50 return Human::EyeColor->new( zip( @genes, @{$_} ) ); };
51
52 has 'eye_color' => (
53 is => 'ro',
54 isa => 'Human::EyeColor',
55 coerce => 1,
56 required => 1,
57 );
58
59 }
60
61 {
62 package Human::Gene::bey2;
63
64 use Moose;
65 use Moose::Util::TypeConstraints;
66
67 type 'bey2_color' => where { $_ =~ m{^(?:brown|blue)$} };
68
69 has 'color' => ( is => 'ro', isa => 'bey2_color' );
70 }
71
72 {
73 package Human::Gene::gey;
74
75 use Moose;
76 use Moose::Util::TypeConstraints;
77
78 type 'gey_color' => where { $_ =~ m{^(?:green|blue)$} };
79
80 has 'color' => ( is => 'ro', isa => 'gey_color' );
81 }
82
83 {
84 package Human::EyeColor;
85
86 use Moose;
87 use Moose::Util::TypeConstraints;
88
89 coerce 'Human::Gene::bey2'
90 => from 'Str'
91 => via { Human::Gene::bey2->new( color => $_ ) };
92
93 coerce 'Human::Gene::gey'
94 => from 'Str'
95 => via { Human::Gene::gey->new( color => $_ ) };
96
97 has [qw( bey2_1 bey2_2 )] =>
98 ( is => 'ro', isa => 'Human::Gene::bey2', coerce => 1 );
99
100 has [qw( gey_1 gey_2 )] =>
101 ( is => 'ro', isa => 'Human::Gene::gey', coerce => 1 );
102
103 sub color {
104 my ($self) = @_;
105
106 return 'brown'
107 if ( $self->bey2_1->color() eq 'brown'
108 or $self->bey2_2->color() eq 'brown' );
109
110 return 'green'
111 if ( $self->gey_1->color() eq 'green'
112 or $self->gey_2->color() eq 'green' );
113
114 return 'blue';
115 }
116
117 use overload '""' => \&color, fallback => 1;
118
119 use overload '+' => \&_overload_add, fallback => 1;
120
121 sub _overload_add {
122 my ( $one, $two ) = @_;
123
124 my $one_bey2 = 'bey2_' . _rand2();
125 my $two_bey2 = 'bey2_' . _rand2();
126
127 my $one_gey = 'gey_' . _rand2();
128 my $two_gey = 'gey_' . _rand2();
129
130 return Human::EyeColor->new(
131 bey2_1 => $one->$one_bey2->color(),
132 bey2_2 => $two->$two_bey2->color(),
133 gey_1 => $one->$one_gey->color(),
134 gey_2 => $two->$two_gey->color(),
135 );
136 }
137
138 sub _rand2 {
139 return 1 + int( rand(2) );
140 }
141 }
142
143 my $gene_color_sets = [
144 [ qw( blue blue blue blue ) => 'blue' ],
145 [ qw( blue blue green blue ) => 'green' ],
146 [ qw( blue blue blue green ) => 'green' ],
147 [ qw( blue blue green green ) => 'green' ],
148 [ qw( brown blue blue blue ) => 'brown' ],
149 [ qw( brown brown green green ) => 'brown' ],
150 [ qw( blue brown green blue ) => 'brown' ],
151 ];
152
153 foreach my $set (@$gene_color_sets) {
154 my $expected_color = pop(@$set);
155
156 my $person = Human->new(
157 sex => 'f',
158 eye_color => $set,
159 );
160
161 is(
162 $person->eye_color(),
163 $expected_color,
164 'gene combination '
165 . join( ',', @$set )
166 . ' produces '
167 . $expected_color
168 . ' eye color',
169 );
170 }
171
172 my $parent_sets = [
173 [
174 [qw( blue blue blue blue )],
175 [qw( blue blue blue blue )] => 'blue'
176 ],
177 [
178 [qw( blue blue blue blue )],
179 [qw( brown brown green blue )] => 'brown'
180 ],
181 [
182 [qw( blue blue green green )],
183 [qw( blue blue green green )] => 'green'
184 ],
185 ];
186
187 foreach my $set (@$parent_sets) {
188 my $expected_color = pop(@$set);
189
190 my $mother = Human->new(
191 sex => 'f',
192 eye_color => shift(@$set),
193 );
194
195 my $father = Human->new(
196 sex => 'm',
197 eye_color => shift(@$set),
198 );
199
200 my $child = $mother + $father;
201
202 is(
203 $child->eye_color(),
204 $expected_color,
205 'mother '
206 . $mother->eye_color()
207 . ' + father '
208 . $father->eye_color()
209 . ' = child '
210 . $expected_color,
211 );
212 }
213
214 # Hmm, not sure how to test for random selection of genes since
215 # I could theoretically run an infinite number of iterations and
216 # never find proof that a child has inherited a particular gene.
217
218 # AUTHOR: Aran Clary Deltac <bluefeet@cpan.org>
219
220 done_testing;
5656 }
5757
5858 ok(My::OtherRole->meta->has_method($_), "we have a $_ method") for qw(foo baz role_bar);
59 ok(My::OtherRole->meta->requires_method('bar'), '... and the &bar method is required');
59 ok(!My::OtherRole->meta->requires_method('bar'), '... and the &bar method is not required');
6060 ok(!My::OtherRole->meta->requires_method('role_bar'), '... and the &role_bar method is not required');
6161
6262 {
3636 ok(My::OtherRole->meta->has_method($_), "we have a $_ method") for qw(foo bar baz);
3737
3838 ok(!My::OtherRole->meta->requires_method('foo'), '... and the &foo method is not required');
39 ok(My::OtherRole->meta->requires_method('bar'), '... and the &bar method is required');
39 ok(!My::OtherRole->meta->requires_method('bar'), '... and the &bar method is not required');
4040
4141 {
4242 package Foo::Role;
6464 is($c->baz_foo, 'Baz::foo', '... got the right method');
6565 is($c->baz_bar, 'Baz::bar', '... got the right method');
6666
67 {
68 package Splunk;
69
70 use Moose::Role;
71
72 sub baz { 'Splunk::baz' }
73 sub gorch { 'Splunk::gorch' }
74
75 ::is(::exception { with 'Foo' }, undef, 'role to role application works');
76
77 package My::Class2;
78
79 use Moose;
80
81 ::is(::exception { with 'Splunk' }, undef, 'and the role can be consumed');
82 }
83
84 is(My::Class2->foo, 'Foo::foo', '... got the right method');
85 is(My::Class2->bar, 'Foo::bar', '... got the right method');
86 is(My::Class2->baz, 'Splunk::baz', '... got the right method');
87 is(My::Class2->gorch, 'Splunk::gorch', '... got the right method');
88
6789 done_testing;
4747
4848 {
4949 # check that when a role is added to another role
50 # and they conflict and the method they conflict
51 # with is then required.
52
53 package Role::A::Conflict;
50 # that the consumer's method shadows just like for classes.
51
52 package Role::A::Shadow;
5453 use Moose::Role;
5554
5655 with 'Role::A';
5756
58 sub bar { 'Role::A::Conflict::bar' }
59
60 package Class::A::Conflict;
61 use Moose;
62
63 ::like( ::exception {
64 with 'Role::A::Conflict';
65 }, qr/Due to a method name conflict in roles 'Role::A' and 'Role::A::Conflict', the method 'bar' must be implemented or excluded by 'Class::A::Conflict'/, '... did not fufill the requirement of &bar method' );
66
67 package Class::A::Resolved;
68 use Moose;
69
70 ::is( ::exception {
71 with 'Role::A::Conflict';
57 sub bar { 'Role::A::Shadow::bar' }
58
59 package Class::A::Shadow;
60 use Moose;
61
62 ::is( ::exception {
63 with 'Role::A::Shadow';
7264 }, undef, '... did fufill the requirement of &bar method' );
73
74 sub bar { 'Class::A::Resolved::bar' }
75 }
76
77 ok(Role::A::Conflict->meta->requires_method('bar'), '... Role::A::Conflict created the bar requirement');
78
79 can_ok( Class::A::Resolved->new, qw(bar) );
80
81 is( Class::A::Resolved->new->bar, 'Class::A::Resolved::bar', "... got the right bar method" );
65 }
66
67 can_ok( Class::A::Shadow->new, qw(bar) );
68
69 is( Class::A::Shadow->new->bar, 'Role::A::Shadow::bar', "... got the right bar method" );
8270
8371 {
8472 # check that when two roles are composed, they conflict
130118 # by a role, but also new ones can be
131119 # created just as easily ...
132120
133 package Role::D::And::E::Conflict;
121 package Role::D::And::E::NoConflict;
134122 use Moose::Role;
135123
136124 ::is( ::exception {
137125 with qw(Role::D Role::E); # conflict between 'foo's here
138 }, undef, "... define role Role::D::And::E::Conflict" );
139
140 sub foo { 'Role::D::And::E::Conflict::foo' } # this overrides ...
141
142 # but these conflict
143 sub xxy { 'Role::D::And::E::Conflict::xxy' }
144 sub bar { 'Role::D::And::E::Conflict::bar' }
145
146 }
147
148 ok(!Role::D::And::E::Conflict->meta->requires_method('foo'), '... Role::D::And::E::Conflict fufilled the &foo requirement');
149 ok(Role::D::And::E::Conflict->meta->requires_method('xxy'), '... Role::D::And::E::Conflict adds the &xxy requirement');
150 ok(Role::D::And::E::Conflict->meta->requires_method('bar'), '... Role::D::And::E::Conflict adds the &bar requirement');
126 }, undef, "... define role Role::D::And::E::NoConflict" );
127
128 sub foo { 'Role::D::And::E::NoConflict::foo' } # this overrides ...
129
130 sub xxy { 'Role::D::And::E::NoConflict::xxy' } # and so do these ...
131 sub bar { 'Role::D::And::E::NoConflict::bar' }
132
133 }
134
135 ok(!Role::D::And::E::NoConflict->meta->requires_method('foo'), '... Role::D::And::E::NoConflict fufilled the &foo requirement');
136 ok(!Role::D::And::E::NoConflict->meta->requires_method('xxy'), '... Role::D::And::E::NoConflict fulfilled the &xxy requirement');
137 ok(!Role::D::And::E::NoConflict->meta->requires_method('bar'), '... Role::D::And::E::NoConflict fulfilled the &bar requirement');
151138
152139 {
153140 # conflict propagation
6464 my $type;
6565 is( exception { $type = role_type 'MyExampleRole' }, undef, 'Make initial role_type' );
6666 is( exception { is(role_type('MyExampleRole'), $type, 're-running role_type gives same type') }, undef, 'No exception making duplicate role_type' );;
67 is( exception { ok( ! $type->is_subtype_of('Bar'), 'MyExampleRole is not a subtype of Bar' ) }, undef, 'No exception for is_subtype_of undefined role' );
6768 }
6869
6970 done_testing;
66
77 use Moose ();
88 use Moose::Util qw( apply_all_roles );
9 use Moose::Util::TypeConstraints;
910
1011 {
1112 package MyRole;
9899 memory_cycle_ok($anon_role, 'anon role meta object is cycle-free' );
99100 }
100101
102 {
103 my $Str = find_type_constraint('Str');
104 my $Undef = find_type_constraint('Undef');
105 my $Str_or_Undef = Moose::Meta::TypeConstraint::Union->new(
106 type_constraints => [ $Str, $Undef ] );
107 memory_cycle_ok($Str_or_Undef, 'union types do not leak');
108 }
109
110
101111 done_testing;
44 use Test::More;
55
66 BEGIN {
7 plan skip_all => 'This test will not run unless you set MOOSE_TEST_MD to a true value'
7 my $help = <<'EOF';
8 This test will not run unless you set MOOSE_TEST_MD to a true value.
9
10 Valid values are:
11
12 all Test every dist which depends on Moose except those
13 that we know cannot be tested. This is a lot of
14 distros (thousands).
15
16 Dist::1,Dist::2,... Test the individual dists listed.
17
18 MooseX Test all Moose extension distros
19 (MooseX modules plus a few others).
20
21 1 Run the default tests. We pick 200 random dists and
22 test them.
23
24 EOF
25
26 plan skip_all => $help
827 unless $ENV{MOOSE_TEST_MD};
928 }
1029
2342 diag( 'Test run performed at: '
2443 . DateTime->now
2544 . ' with Moose '
26 . Moose->VERSION );
45 . (Moose->VERSION || 'git repo') );
2746
2847 $ENV{PERL_TEST_DM_LOG_DIR} = abs_path('.');
2948 delete @ENV{ qw( AUTHOR_TESTING RELEASE_TESTING SMOKE_TESTING ) };
5170 }
5271 );
5372
54 my %todo_reasons = map {
55 chomp;
56 /^(\S*)\s*(?:#\s*(.*)\s*)?$/;
57 defined($1) && length($1) ? ($1 => $2) : ()
58 } <DATA>;
59 my %todo = map { $_ => 1 } keys %todo_reasons;
60
6173 my @skip_prefix = qw(Acme Task Bundle);
62 my %skip = map { $_ => 1 } (
63 'App-CPAN2Pkg', # tk tests are graphical
64 'App-USBKeyCopyCon', # gtk tests are graphical
65 'Bot-Backbone', # poe-loop-ev prompts
66 'Cache-Ehcache', # hangs if server exists on port 8080
67 'CatalystX-Imports', # assumes it can write to /tmp/testapp
68 'CatalystX-Restarter-GTK', # gtk tests are graphical
69 'CM-Permutation', # OpenGL uses graphics in Makefile.PL
70 'CPAN-Source', # assumes it can write to /tmp/.cache
71 'Dackup', # depends on running ssh
72 'Data-Collector', # depends on running ssh
73 'Date-Biorhythm', # Date::Business prompts in Makefile.PL
74 'DBIx-PgLink', # prompts for a postgres password
75 'Forest-Tree-Viewer-Gtk2', # gtk tests are graphical
76 'Games-Pandemic', # tk tests are graphical
77 'Games-RailRoad', # tk tests are graphical
78 'Games-Risk', # tk tests are graphical
79 'Gearman-Driver', # spews tar errors
80 'helm', # depends on running ssh
81 'iTransact-Lite', # tests rely on internet site
82 'Log-Dispatch-Gtk2-Notify', # gtk tests are graphical
83 'LPDS', # gtk tests are graphical
84 'Net-SFTP-Foreign-Exceptional', # depends on running ssh
85 'Periscope', # gtk tests are graphical
86 'POE-Component-OpenSSH', # depends on running ssh
87 'POE-Component-Server-SimpleHTTP-PreFork', # ipc::shareable tests hang
88 'RDF-TrineX-RuleEngine-Jena', # prompts in Makefile.PL
89 'Test-SFTP', # Term::ReadPassword prompts in tests
90 'Tk-Role-Dialog', # tk tests are graphical
91 'Unicode-Emoji-E4U', # tests rely on internet site
92 'Weaving-Tablet', # tk tests are graphical
93 'WWW-eNom', # tests rely on internet site
94 'WWW-Finances-Bovespa', # tests rely on internet site
95 'WWW-Hashdb', # test hangs, pegging cpu
96 'WWW-Vimeo-Download', # tests rely on internet site
97 'WWW-YouTube-Download-Channel', # tests rely on internet site
98 'Zucchini', # File::Rsync prompts in Makefile.PL
99 );
74 my %skip;
75 my %todo;
76
77 my $hash;
78 for my $line (<DATA>) {
79 chomp $line;
80 next unless $line =~ /\S/;
81 if ( $line =~ /^# (\w+)/ ) {
82 die "Invalid action in DATA section ($1)"
83 unless $1 eq 'SKIP' || $1 eq 'TODO';
84 $hash = $1 eq 'SKIP' ? \%skip : \%todo;
85 }
86
87 my ( $dist, $reason ) = $line =~ /^(\S*)\s*(?:#\s*(.*)\s*)?$/;
88 next unless defined $dist && length $dist;
89
90 $hash->{$dist} = $reason;
91 }
10092
10193 my %name_fix = (
10294 'App-passmanager' => 'App::PassManager',
129121 map { $_->{fields}{distribution} }
130122 @{ $res->{hits}{hits} };
131123
132 unless ( $ENV{MOOSE_TEST_MD} eq 'all' ) {
124 if ( $ENV{MOOSE_TEST_MD} eq 'MooseX' ) {
125 @dists = grep {
126 /^(?:MooseX-|(?:Fey-ORM|KiokuDB|Bread-Board|Catalyst-Runtime|Reflex)$)/
127 } @dists;
128 }
129 elsif ( $ENV{MOOSE_TEST_MD} eq '1' ) {
133130 diag(
134 'Picking 200 random dependents to test. Set MOOSE_TEST_MD=all to test all dependents'
131 <<'EOF'
132 Picking 200 random dependents to test. Set MOOSE_TEST_MD=all to test all
133 dependents or MOOSE_TEST_MD=MooseX to test extension modules only.
134 EOF
135135 );
136136
137137 my %indexes;
140140 }
141141
142142 @dists = @dists[ sort keys %indexes ];
143 }
144 elsif ( $ENV{MOOSE_TEST_MD} ne 'all' ) {
145 my @chosen = split /,/, $ENV{MOOSE_TEST_MD};
146 my %dists = map { $_ => 1 } @dists;
147 if (my @unknown = grep { !$dists{$_} } @chosen) {
148 die "Unknown dists: @unknown";
149 }
150 @dists = @chosen;
143151 }
144152
145153 plan tests => scalar @dists;
148156 my $module = $dist;
149157 $module = $name_fix{$module} if exists $name_fix{$module};
150158 if ($todo{$dist}) {
151 my $reason = $todo_reasons{$dist};
159 my $reason = $todo{$dist};
152160 $reason = '???' unless defined $reason;
153161 local $TODO = $reason;
154162 eval { test_module($module); 1 }
161169 }
162170
163171 __DATA__
164 # indexing issues (test::dm bugs?)
172 # SKIP: indexing issues (test::dm bugs?)
165173 Alice # couldn't find on cpan
166174 Hopkins # couldn't find on cpan
167175 PostScript-Barcode # couldn't find on cpan
168176 WWW-Mechanize-Query # couldn't find on cpan
169177
170 # doesn't install deps properly (test::dm bugs?)
178 # SKIP: doesn't install deps properly (test::dm bugs?)
171179 App-Benchmark-Accessors # Mojo::Base isn't installed
172180 Bot-BasicBot-Pluggable # Crypt::SaltedHash isn't installed
173181 Code-Statistics # MooseX::HasDefaults::RO isn't installed
182190 Net-Bamboo # XML::Tidy isn't installed
183191 Tatsumaki-Template-Markapl # Tatsumaki::Template isn't installed
184192 Text-Tradition # Bio::Phylo::IO isn't installed
185
186 # no tests
193 WebService-Strava # Any::URI::Escape isn't installed
194
195 # SKIP: no tests
187196 AI-ExpertSystem-Advanced # no tests
188197 API-Assembla # no tests
189198 App-mkfeyorm # no tests
201210 Dist-Zilla-PluginBundle-Author-OLIVER # no tests
202211 Dist-Zilla-PluginBundle-NUFFIN # no tests
203212 Dist-Zilla-Plugin-DualLife # no tests
213 Dist-Zilla-Plugin-Git-Describe # no tests
204214 Dist-Zilla-Plugin-GitFlow # no tests
205215 Dist-Zilla-Plugin-GitFmtChanges # no tests
206216 Dist-Zilla-Plugin-MetaResourcesFromGit # no tests
216226 LWP-UserAgent-OfflineCache # no tests
217227 Markdown-Pod # no tests
218228 MooseX-Types-DateTimeX # no tests
229 MooseX-Types-DateTime-MoreCoercions # no tests unless DateTime::Format::DateManip is installed
219230 Net-Azure-BlobService # no tests
220231 Net-Dropbox # no tests
221232 Net-Flowdock # no tests
226237 Pod-Weaver-Section-Consumes # no tests
227238 Pod-Weaver-Section-Encoding # no tests
228239 Pod-Weaver-Section-Extends # no tests
240 P50Tools # no tests
229241 POE-Component-Server-MySQL # no tests
230242 Random-Quantum # no tests
231243 SchemaEvolution # no tests
237249 WWW-MenuGrinder # no tests
238250 WWW-WuFoo # no tests
239251
240 # external dependencies
252 # SKIP: external dependencies
253 Alien-Ditaa # runs java code
254 Ambrosia # required mod_perl
255 AnyEvent-MSN # requires Net::SSLeay (which requires libssl)
241256 AnyEvent-Multilog # requires multilog
242257 AnyEvent-Net-Curl-Queued # requires libcurl
243258 AnyEvent-ZeroMQ # requires zeromq installation
245260 Apache2-HttpEquiv # requires apache (for mod_perl)
246261 App-Mimosa # requires fastacmd
247262 App-PgCryobit # requires postgres installation
263 App-SimplenoteSync # requires File::ExtAttr which requires libattr
248264 Archive-RPM # requires cpio
249265 Bot-Jabbot # requires libidn
250266 Catalyst-Engine-Stomp # depends on alien::activemq
255271 Curses-Toolkit # requires Curses which requires ncurses library
256272 Dackup # requires ssh
257273 Data-Collector # requires ssh
274 Data-Riak # requires riak
258275 DBIx-PgLink # requires postgres installation
259276 Dist-Zilla-Plugin-Subversion # requires svn bindings
260277 Dist-Zilla-Plugin-SVK # requires svn bindings
274291 Lighttpd-Control # requires lighttpd
275292 Lingua-TreeTagger # requires treetagger to be installed
276293 Math-Lsoda # requires f77
294 Message-Passing-ZeroMQ # requires zeromq installation
277295 MongoDBI # requires mongo
278296 MongoDB # requires mongo
279297 MSWord-ToHTML # requires abiword to be installed
280298 Net-DBus-Skype # requires dbus
281299 Net-Route # requires route
300 Net-SFTP-Foreign-Exceptional # depends on running ssh
282301 Net-UpYun # requires curl
283302 Net-ZooTool # requires curl
284303 Nginx-Control # requires nginx to be installed
285304 NLP-Service # requires javac
305 Padre-Plugin-Cookbook # requires Wx
286306 Padre-Plugin-Moose # requires threaded perl
287307 Padre-Plugin-PDL # requires threaded perl
288308 Padre-Plugin-Snippet # requires threaded perl
298318 SimpleDB-Class # requires memcached
299319 SVN-Simple-Hook # requires svn
300320 SVN-Tree # requires svn
321 Tapper-MCP # depends on everything under the sun - some of which is broken
301322 Template-JavaScript # requires v8
302323 TheSchwartz-Moosified # requires DBI::Pg ?
303324 WebService-SendGrid # requires curl
307328 ZeroMQ-PubSub # requires zmq
308329 ZMQ-Declare # requires zmq
309330
310 # flaky internet tests
331 # SKIP: flaky internet tests
311332 iTransact-Lite # tests rely on internet site
312333 Unicode-Emoji-E4U # tests rely on internet site
313334 WWW-eNom # tests rely on internet site
315336 WWW-Vimeo-Download # tests rely on internet site
316337 WWW-YouTube-Download-Channel # tests rely on internet site
317338
318 # graphical
339 # SKIP: graphical
319340 App-CPAN2Pkg # tk tests are graphical
320341 App-USBKeyCopyCon # gtk tests are graphical
321342 CatalystX-Restarter-GTK # gtk tests are graphical
329350 Tk-Role-Dialog # tk tests are graphical
330351 Weaving-Tablet # tk tests are graphical
331352
332 # failing for a reason
353 # SKIP: prompts (or a dep prompts) or does something else dumb
354 Bot-Backbone # poe-loop-ev prompts
355 Cache-Ehcache # hangs if server exists on port 8080
356 CM-Permutation # OpenGL uses graphics in Makefile.PL
357 Date-Biorhythm # Date::Business prompts in Makefile.PL
358 DBIx-VersionedDDL # runs a script with /usr/bin/perl in the shbang line
359 File-Tail-Scribe # tests hang
360 Gearman-Driver # spews tar errors
361 Gearman-SlotManager # tests hang
362 IPC-AnyEvent-Gearman # tests hang
363 Lingua-YALI # runs scripts with /usr/bin/env perl in the shbang line
364 Net-SSH-Mechanize # the mock-ssh script it runs seems to spin endlessly
365 POE-Component-Server-SimpleHTTP-PreFork # tests hang
366 WWW-Hashdb # test hangs, pegging cpu
367 Zucchini # File::Rsync prompts in Makefile.PL
368
369 # TODO: failing for a reason
333370 Algorithm-KernelKMeans # mx-types-common changes broke it
334371 AnyEvent-BitTorrent # broken
335372 AnyEvent-Cron # intermittent failures
351388 App-Validation-Automation # dep on Switch
352389 App-Wubot # broken
353390 Beagle # depends on term::readline::perl
354 Bot-Backbone # poe-loop-ev prompts
355 Cache-Ehcache # hangs if server exists on port 8080
356391 Cache-Profile # broken
357392 Catalyst-Authentication-Store-LDAP-AD-Class # pod coverage fail
358393 Catalyst-Controller-Resources # broken
363398 Catalyst-Plugin-Session-Store-TestMemcached # dep with corrupt archive
364399 Catalyst-Plugin-SwiffUploaderCookieHack # undeclared dep
365400 Catalyst-TraitFor-Request-PerLanguageDomains # dep on ::State::Cookie
401 CatalystX-ExtJS-Direct # broken
366402 CatalystX-I18N # dep on ::State::Cookie
367403 CatalystX-MooseComponent # broken
368404 CatalystX-SimpleLogin # broken
369405 CatalystX-Usul # proc::processtable doesn't load
370406 Cheater # parse::randgen is broken
371407 Class-OWL # uses CMOP::Class without loading cmop
372 CM-Permutation # OpenGL uses graphics in Makefile.PL
373408 Cogwheel # uses ancient moose apis
374409 Config-Model # broken
375410 Config-Model-Backend-Augeas # deps on Config::Model
385420 Data-PackageName # broken
386421 Data-Pipeline # uses ancient moose apis
387422 Data-SCORM # pod coverage fail
388 Date-Biorhythm # Date::Business prompts in Makefile.PL
389423 DayDayUp # MojoX-Fixup-XHTML doesn't exist
390424 DBICx-Modeler-Generator # broken (weirdly)
391425 DBIx-SchemaChecksum # broken
393427 Devel-Events # broken (role conflict)
394428 Dist-Zilla-Deb # pod coverage fail
395429 Dist-Zilla-Plugin-ChangelogFromGit-Debian # git::repository is broken
430 Dist-Zilla-Plugin-CheckChangesHasContent # broken
431 Dist-Zilla-Plugin-Git # tests fail when run in a temp dir
432 Dist-Zilla-Plugin-PerlTidy # expects to find dzil in the path
433 Dist-Zilla-Plugin-Pinto-Add # deps on Pinto::Common
396434 Dist-Zilla-Plugin-ProgCriticTests # broken
435 Dist-Zilla-Plugin-Test-ReportPrereqs # broken
397436 DustyDB # uses old moose apis
398437 Dwimmer # broken
399438 Facebook-Graph # broken
439 FCGI-Engine # runs scripts without using $^X
400440 Fedora-Bugzilla # deps on nonexistent things
401441 FFmpeg-Thumbnail # undeclared dep
402442 File-DataClass # XML::DTD is a broken dist
403443 File-Stat-Moose # old moose apis
404444 File-Tail-Dir # intermittent fails (i think)
405445 Form-Factory # uses old moose apis
446 Form-Sensible # broken
406447 FormValidator-Nested # broken
407448 Frost # broken
408449 Games-Dice-Loaded # flaky tests
417458 HTTP-Engine-Middleware # missing dep on yaml
418459 Image-Robohash # Graphics::Magick doesn't exist
419460 JavaScript-Framework-jQuery # coerce with no coercion
461 Jenkins-NotificationListener # missing dep on File::Read
420462 Jifty # Test::WWW::Selenium needs devel::repl
421463 JSORB # broken
422464 Jungle # broken
426468 marc-moose # broken (only sometimes?)
427469 Mail-Summary-Tools # DT::Format::DateManip is broken
428470 MediaWiki-USERINFO # broken
471 Metabase-Backend-MongoDB # broken
472 Metabase-Backend-SQL # broken (I think)
429473 Method-Signatures # doesn't like ANY_MOOSE=Moose
430474 mobirc # http::engine broken
431475 MooseX-Attribute-Prototype # uses old moose apis
434478 MooseX-DOM # "no Moose" unimports confess
435479 MooseX-Error-Exception-Class # metaclass compat breakage
436480 MooseX-Getopt-Usage # missing dep on Test::Class
481 MooseX-GTIN # broken (under jenkins, at least)
437482 MooseX-Meta-Attribute-Index # old moose apis
438483 MooseX-Meta-Attribute-Lvalue # old moose apis
484 MooseX-Role-XMLRPC-Client # requires LWP::Protocol::http which requires libssl
485 MooseX-Scaffold # broken
439486 MooseX-Struct # ancient moose apis
440487 MooseX-Types-Parameterizable # broken
488 MooseX-WithCache # broken
441489 MouseX-Types # broken (with moose)
442490 MySQL-Util # pod-coverage fail
443491 Nagios-Passive # broken
449497 NetHack-Item # NH::Monster::Spoiler is broken
450498 NetHack-Monster-Spoiler # broken (MX::CA issues)
451499 Net-HTTP-Factual # broken
500 Net-Jabber-Bot # broken
452501 Net-Journyx # broken
453502 Net-Mollom # broken
454503 Net-Parliament # broken
455504 Net-Plurk # broken
456505 Net-SSLeay-OO # broken
457506 Net-StackExchange # broken
507 Norma # fails when trying to write to a read-only SQLite db file under jenkins, also fails when run manually
458508 ODG-Record # Test::Benchmark broken
459509 Perlbal-Control # proc::processtable doesn't load
460510 Pg-BulkCopy # hardcodes /usr/bin/perl
461511 Pinto-Common # broken
462 Pinto-Server # deps on pinto::common
512 Pinto-Remove # deps on Pinto::Common
513 Pinto-Server # deps on Pinto::Common
463514 Plack-Middleware-Image-Scale # Image::Scale is broken
464515 Pod-Parser-I18N # missing dep on Data::Localize
465516 POE-Component-CPAN-Mirror-Multiplexer # broken
507558 Test-SFTP # Term::ReadPassword prompts in tests
508559 Test-WWW-Selenium-More # Test::WWW::Selenium needs devel::repl
509560 Text-Clevery # broken
561 Text-Zilla # broken
510562 Thorium # depends on Hobocamp
511563 TryCatch-Error # broken
512564 Verby # deps on poe::component::resourcepool
517569 WebService-Yes24 # broken
518570 WiX3 # broken
519571 WWW-Alltop # XML::SimpleObject configure fail
572 WWW-Comix # uses ancient Moose::Policy stuff
520573 WWW-DataWiki # broken
521574 WWW-Fandango # bad dist
522575 WWW-FMyLife # broken
523 WWW-Hashdb # test hangs, pegging cpu
524576 WWW-Mechanize-Cached # tries to read from wrong build dir?
525577 WWW-Metalgate # Cache is broken
526578 WWW-Scramble # pod::coverage fail
533585 XML-SRS # deps on prang
534586 XML-Writer-Compiler # broken tests
535587 Yukki # git::repository is broken
536 Zucchini # File::Rsync prompts in Makefile.PL
2323 Clary
2424 Debolaz
2525 Deltac
26 Etheridge
2627 Florian
2728 Goro
2829 Goulah
6263 frodwith
6364 gphat
6465 groditi
66 ingy
6567 jgoulah
6668 jrockway
6769 kolibrie
7779 rlb
7880 robkinyon
7981 sartak
82 Sartak
8083 stevan
8184 tozt
8285 wreis
186189 definedness
187190 deinitialized
188191 deprecations
192 Deprecations
189193 destructor
194 Destructor
190195 destructors
191196 destructuring
192197 dev
195200 eval'ing
196201 extensibility
197202 hashrefs
203 Hashrefs
198204 hotspots
199205 immutabilize
200206 immutabilized
219225 mul
220226 munge
221227 namespace
228 Namespace
222229 namespace's
223230 namespaced
224231 namespaces
228235 optimizations
229236 overridable
230237 parameterizable
238 Parameterizable
231239 parameterization
232240 parameterize
233241 parameterized
238246 polymorphism
239247 prechecking
240248 prepends
249 Prepends
241250 pu
242251 rebase
243252 rebased
244253 rebasing
254 Rebasing
245255 rebless
246256 reblesses
247257 reblessing
273283 utils
274284 whitelisted
275285 workflow
286 WORKFLOW
276287
277288 ## other jargon
278289 bey