1Data::Perl::Collection:U:sAerrraCyo(n3t)ributed Perl DocDuamtean:t:aPteiroln::Collection::Array(3)
2
3
4
6 Data::Perl::Collection::Array - Wrapping class for Perl's built in
7 array structure.
8
10 version 0.002011
11
13 use Data::Perl qw/array/;
14
15 my $array = array(1, 2, 3);
16
17 $array->push(5);
18
19 $array->grep(sub { $_ > 2 })->map(sub { $_ ** 2 })->elements; # (3, 5);
20
22 This class is a simple consumer of the
23 Data::Perl::Role::Collection::Array role, which provides all
24 functionality. You probably want to look there instead.
25
27 Matthew Phillips <mattp@cpan.org>
28
30 This software is copyright (c) 2020 by Matthew Phillips
31 <mattp@cpan.org>.
32
33 This is free software; you can redistribute it and/or modify it under
34 the same terms as the Perl 5 programming language system itself.
35
36
37
38perl v5.32.1 2021-01-27 Data::Perl::Collection::Array(3)