App::Hachero::Result::Data - a class to store analyzed data of Hachero
my $data = App::Hachero::Result::Data->new( { foo => 'bar', hoge => 'fuga', } ); $data->count_up; my @keys = $data->keys; # qw(foo hoge count) my $value = $data->value('count'); # 1 $data->count_up(4) $value = $data->value('count'); # 5 my $hashref = $data->hashref; # { foo => 'bar', hoge => 'fuga', count => 5 }
A class to store analyzed data of Hachero.
creates result data.
returns keys in this data objects.
returns data value of specified key.
increments 'count' value with specified number. default number is 1.
returns data hashref of this object.
Nobuo Danjou <nobuo.danjou@gmail.com>
App::Hachero
App::Hachero::Result
To install App::Hachero, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Hachero
CPAN shell
perl -MCPAN -e shell install App::Hachero
For more information on module installation, please visit the detailed CPAN module installation guide.