The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Data::Object::Role::List - List Object Role for Perl 5

VERSION

version 0.61

SYNOPSIS

  use Data::Object::Class;

  with 'Data::Object::Role::List';

DESCRIPTION

Data::Object::Role::List provides routines for operating on Perl 5 data objects which meet the criteria for being considered lists.

ROLES

This package is comprised of the following roles.

REQUIRES

This package requires the consumer to implement the following methods.

  • grep

  • head

  • join

  • length

  • list

  • map

  • reverse

  • sort

  • tail

  • values

SEE ALSO

AUTHOR

Al Newkirk <al@iamalnewkirk.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by Al Newkirk.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.