All of the non-mutating array helpers are now inlined.
authorDave Rolsky <autarch@urth.org>
Wed, 15 Sep 2010 20:01:34 +0000 (15:01 -0500)
committerJesse Luehrs <doy@tozt.net>
Mon, 27 Sep 2010 00:41:22 +0000 (19:41 -0500)
commit910684ee2db21699bfff41b3b62b3728203024f9
tree12aa031cadbd170281e91c0f4231873250eb73b4
parentaada334de43c1964b1378425ab91a9398a12e3c6
All of the non-mutating array helpers are now inlined.

Made sure we had tests for all of them, including tests for failure cases.
16 files changed:
lib/Moose/Meta/Attribute/Native/MethodProvider/Array.pm
lib/Moose/Meta/Attribute/Native/Trait/Array.pm
lib/Moose/Meta/Method/Accessor/Native/Array.pm
lib/Moose/Meta/Method/Accessor/Native/Array/Reader.pm
lib/Moose/Meta/Method/Accessor/Native/Array/elements.pm
lib/Moose/Meta/Method/Accessor/Native/Array/first.pm
lib/Moose/Meta/Method/Accessor/Native/Array/get.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Array/grep.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Array/join.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Array/map.pm
lib/Moose/Meta/Method/Accessor/Native/Array/push.pm
lib/Moose/Meta/Method/Accessor/Native/Array/reduce.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Array/shuffle.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Array/sort.pm [new file with mode: 0644]
lib/Moose/Meta/Method/Accessor/Native/Array/uniq.pm [new file with mode: 0644]
t/070_native_traits/202_trait_array.t