Matthew Phillips > Data-Perl-0.001005 > Data::Perl::Collection::Hash::AutoFlatten

Download:
Data-Perl-0.001005.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.001005   Source  

NAME ^

Data::Perl::Collection::Hash::AutoFlatten - Like Collection::Hash, but flattened.

VERSION ^

version 0.001005

SYNOPSIS ^

  use aliased 'Data::Perl::Collection::Hash::AutoFlatten';

  my $hash = Hash->new(qw/a b c d/);

  $hash->keys; # returns qw/a c/

  $hash->keys->count; # doesn't work

DESCRIPTION ^

This class wraps Data::Perl::Collection::Hash to ensure all methods that could otherwise return a Collection::Hash or Collection::Array object will instead return a real perl hash or array. As a result, chaining methods is impossible.

WRAPPED METHODS ^

SEE ALSO ^

AUTHOR ^

Matthew Phillips <mattp@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Matthew Phillips <mattp@cpan.org>.

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: