MoCo::List - Array iterator for MoCo.
my $array_ref = [ {name => 'jkondo'}, {name => 'cinnamon'} ]; my $list = MoCo::List->new($array_ref); $list->size; # 2 my @names = $list->map_name; # ('jkondo','cinnamon') my $first = $list->pop; # first hash
MoCo
Junya Kondo, <jkondo@hatena.com>, Naoya Ito, <naoya@hatena.ne.jp>
Copyright (C) Hatena Inc. All Rights Reserved.
This library is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
To install MoCo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MoCo
CPAN shell
perl -MCPAN -e shell install MoCo
For more information on module installation, please visit the detailed CPAN module installation guide.