Graham Ollis > Clustericious-Client > Clustericious::Client::Object::Params

Download:
Clustericious-Client-0.85.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.85   Source  

NAME ^

Clustericious::Client::Object::Params - object parameters

VERSION ^

version 0.85

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);

AUTHOR ^

original author: Curt Tilmes

current maintainer: Graham Ollis <plicease@cpan.org>

contributors:

Brian Duggan

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: