Data::Perl::Collection::Array(3pm)

Data::Perl::Collection::Array3pm

Wrapping class for perl's built in array structure.

Usage

  use Data::Perl qw/array/;
  my $array = array(1, 2, 3);
  $array->push(5);
  $array->grep(sub { $_ > 2 })->map(sub { $_ ** 2 })->elements; # (3, 5);

Version

version 0.002011

Overview

This class is a simple consumer of the Data::Perl::Role::Collection::Array role, which provides all functionality. You probably want to look there instead.

Releases

7 releases since Debian 8 (Jessie); the text changed 4 times.

  1. 8–9
  2. 10
  3. 11
  4. 12–13
  5. Arch

Author

Matthew Phillips <[email protected]>

From perl-data-perl 0.002011-8 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.