Data::Frame::Autobox::Array - Additional Array role for Moose::Autobox
version 0.0041
use Moose::Autobox; Moose::Autobox->mixin_additional_role( ARRAY => "Data::Frame::Autobox::Array" ); [ 1 .. 5 ]->isempty; # false
This is an additional Array role for Moose::Autobox, used by Data::Frame.
my $isempty = $array->isempty;
Returns a boolean value for if the array ref is empty.
my $uniq_array = $array->uniq;
$array->set($idx, $value);
This is same as the put method of Moose::Autobox::Array.
put
my $new_array = $array->repeat($n);
Repeat for $n times.
$n
my $new_array = $array->repeat_to_length($l);
Repeat to get the length of $l.
$l
Shallow copy.
my $new_ary = $array->intersect($other)
my $new_array = $array->union($other)
my $new_array = $array->setdiff($other)
Moose::Autobox, Moose::Autobox::Array
Zakariyya Mughal <zmughal@cpan.org>
Stephan Loyd <sloyd@cpan.org>
This software is copyright (c) 2014, 2019 by Zakariyya Mughal, Stephan Loyd.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Alt::Data::Frame::ButMore, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alt::Data::Frame::ButMore
CPAN shell
perl -MCPAN -e shell install Alt::Data::Frame::ButMore
For more information on module installation, please visit the detailed CPAN module installation guide.