1Data::Perl::Collection:U:sHearshC(o3n)tributed Perl DocuDmaetnat:a:tPieornl::Collection::Hash(3)
2
3
4
6 Data::Perl::Collection::Hash - Wrapping class for Perl's built in hash
7 structure.
8
10 version 0.002009
11
13 use Data::Perl qw/hash/;
14
15 my $hash = hash(a => 1, b => 2);
16
17 $array->push(5);
18
19 $hash->values; # (1, 2)
20
21 $hash->set('foo', 'bar'); # (a => 1, b => 2, foo => 'bar')
22
24 This class is a simple consumer of the
25 Data::Perl::Role::Collection::Hash role, which provides all
26 functionality. You probably want to look there instead.
27
29 Matthew Phillips <mattp@cpan.org>
30
32 This software is copyright (c) 2014 by Matthew Phillips
33 <mattp@cpan.org>.
34
35 This is free software; you can redistribute it and/or modify it under
36 the same terms as the Perl 5 programming language system itself.
37
38
39
40perl v5.28.1 2014-06-27 Data::Perl::Collection::Hash(3)