List::ooObject interface to list (array) methods | |
Download |
List::oo Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Eric Wilhelm
- Publisher web site:
- http://search.cpan.org/~ewilhelm/
List::oo Tags
List::oo Description
Object interface to list (array) methods List::oo is an object interface to list (array) methods.SYNOPSISConnecting multiple list functions together "reads" from right to left (starting with the data input way over on the right.)This module provides a chainable method interface to array objects, which can be a bit more readable when multiple operations are involved.This print join(' ', map({"|$_|"} qw(a b c))), "\n";becomes: use List::oo qw(L); print L(qw(a b c))->map(sub {"|$_|"})->join(' '), "\n";There is definitely some cost of execution speed. This is just an experiment. Comments and suggestions welcome. Requirements: · Perl
List::oo Related Software