X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FAutobox%2FHash.pm;h=5c318dc2903f7fef35d4e40ef371001ade338135;hb=8937074ab98e81964dee9ccf9bbd939ebf3252a0;hp=f8766b9f1475a18ef920b2bdc250fdd3fe1517ac;hpb=260cc81f7ab424f417900ab1c44b734b339f9d9e;p=gitmo%2FMoose-Autobox.git diff --git a/lib/Moose/Autobox/Hash.pm b/lib/Moose/Autobox/Hash.pm index f8766b9..5c318dc 100644 --- a/lib/Moose/Autobox/Hash.pm +++ b/lib/Moose/Autobox/Hash.pm @@ -58,10 +58,12 @@ Moose::Autobox::Hash - the Hash role use Moose::Autobox; use autobox; - { one => 1, two => 2 }->keys->join(', ')->print; # prints 'one, two' + print { one => 1, two => 2 }->keys->join(', '); # prints 'one, two' =head1 DESCRIPTION +This is a role to describes a Hash value. + =head1 METHODS =over 4 @@ -72,7 +74,7 @@ Moose::Autobox::Hash - the Hash role =back -=head2 Indexed +=head2 Moose::Autobox::Indexed implementation =over 4