Clustericious::Client::Object::Params - object parameters
version 1.29
my $data = [ { name => 'foo', value => 'foovalue' }, { name => 'bar', value => 'barvalue' } ]; my $obj = Clustericious::Client::Object::Params->new($data); $obj->{foo} -> 'foovalue'; $obj->{bar} -> 'barvalue';
Takes an array reference of hashes with 'name' and 'value' keys and transforms it into a single flattened hash of name => value.
my $obj = Clustericious::Client::Object::Params->new($data);
Original author: Brian Duggan
Current maintainer: Graham Ollis <plicease@cpan.org>
Contributors:
Curt Tilmes
Yanick Champoux
This software is copyright (c) 2013 by NASA GSFC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Clustericious, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Clustericious
CPAN shell
perl -MCPAN -e shell install Clustericious
For more information on module installation, please visit the detailed CPAN module installation guide.