Brian Duggan > Clustericious-Client > Clustericious::Client::Object::Params

Download:
Clustericious-Client-0.77.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: Clustericious-Client-0.85

NAME ^

Clustericious::Client::Object::Params

SYNOPSIS ^

 my $data = 
 [
     { name => 'foo', value => 'foovalue' },
     { name => 'bar', value => 'barvalue' }
 ];

 my $obj = Clustericious::Client::Object::Params->new($data);

 $obj->{foo} -> 'foovalue';
 $obj->{bar} -> 'barvalue';

DESCRIPTION ^

Takes an array reference of hashes with 'name' and 'value' keys and transforms it into a single flattened hash of name => value.

METHODS ^

new

 my $obj = Clustericious::Client::Object::Params->new($data);
syntax highlighting: