List::Objects::WithUtils::Role::WithJunctions - Arrays with junctions
use List::Objects::WithUtils 'array'; my $array = array(qw/ a b c /); if ( $array->any_items eq 'b' ) { ... } if ( $array->all_items eq 'a' ) { ... }
Used by List::Objects::WithUtils::Array to provide access to Syntax::Keyword::Junction.
Returns the overloaded "any" in Syntax::Keyword::Junction object for the current array.
Returns the overloaded "all" in Syntax::Keyword::Junction object for the current array.
Jon Portnoy <avenj@cobaltirc.org>
To install List::Objects::WithUtils, copy and paste the appropriate command in to your terminal.
cpanm
cpanm List::Objects::WithUtils
CPAN shell
perl -MCPAN -e shell install List::Objects::WithUtils
For more information on module installation, please visit the detailed CPAN module installation guide.