![]() |
![]()
| ![]() |
![]()
NAMEData::Perl::Collection::Array::MooseLike - Collection::Array subclass that simulates Moose's native traits. VERSIONversion 0.001009 SYNOPSISuse Data::Perl::Collection::Array::MooseLike; my $array = Data::Perl::Collection::Array::MooseLike->new(qw/a b c d/); my $scalar_context = $array->splice(0, 2); # removes and returns b my @list_context = $array->splice(0, 2); # returns and removes (b, c) DESCRIPTIONThis class provides a wrapper and methods for interacting with an array. All methods are written to emulate/match existing behavior that exists with Moose's native traits. DIFFERENCES IN FUNCTIONALITY
SEE ALSO
AUTHORToby Inkster <tobyink@cpan.org> COPYRIGHT AND LICENSEThis software is copyright (c) 2020 by Matthew Phillips <mattp@cpan.org>. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|