redo the currying syntax to get rid of one of the arrayrefs
authorJesse Luehrs <doy@tozt.net>
Thu, 20 Aug 2009 05:04:49 +0000 (00:04 -0500)
committerJesse Luehrs <doy@tozt.net>
Thu, 20 Aug 2009 05:04:49 +0000 (00:04 -0500)
commit3c573ca421d4a4e281e8ceb484bb99062e1ebcde
tree857e89f5178953e82da84fc1cbb00e62cf6d68b9
parent9a14bd2969038591aa0cc510fbac6e46e6177f59
redo the currying syntax to get rid of one of the arrayrefs

this will make it more difficult to add things like the subref form of
currying in the future, but it is simpler and cleaner for the vastly
more common case, and the subref form could be added back in via
something like handles => { foo => { grep => sub { ... } } } (rather
than using [] for the middle pair of braces, which would continue to
mean normal currying) if we decide it's really necessary.
lib/Moose.pm
lib/Moose/Meta/Attribute.pm
lib/Moose/Meta/Attribute/Native/Trait.pm
t/020_attributes/010_attribute_delegation.t
t/070_native_traits/202_trait_array.t
t/070_native_traits/203_trait_hash.t
t/070_native_traits/204_trait_number.t
t/070_native_traits/205_trait_list.t
t/070_native_traits/207_trait_string.t