foo
[gitmo/Moose-Autobox.git] / lib / Moose / Autobox / Hash.pm
index 997440d..c4e54eb 100644 (file)
@@ -6,8 +6,6 @@ our $VERSION = '0.01';
 with 'Moose::Autobox::Ref',
      'Moose::Autobox::Indexed';
 
-
-
 sub delete { 
     my ($hash, $key) = @_;
     CORE::delete $hash->{$key}; 
@@ -60,10 +58,44 @@ 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
+
+=item B<delete>
+
+=back
+
+=head2 Indexed implementation
+
+=over 4
+
+=item B<at>
+
+=item B<put>
+
+=item B<exists>
+
+=item B<keys>
+
+=item B<values>
+
+=item B<kv>
+
+=back
+
+=over 4
+
+=item B<meta>
+
+=back
+
 =head1 BUGS
 
 All complex software has bugs lurking in it, and this module is no