Set::Intersection - provides an API to get intersection (of set theory) of ARRAYs.
Version 0.01
use Set::Intersection; my @arr1 = qw/3 1 4 1 5 9/; my @arr2 = qw/1 7 3 2 0 5/; my @intersection = get_intersection(\@arr1, \@arr2); # got (1, 3, 5) in @intersection
get_intersection
Returns intersection set (as LIST) of all ARRAYs.
List::Compare, Set::Object
turugina, <turugina at cpan.org>
<turugina at cpan.org>
Please report any bugs or feature requests to bug-list-intersection at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Set-Intersection. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-list-intersection at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Set::Intersection
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Set-Intersection
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Set-Intersection
CPAN Ratings
http://cpanratings.perl.org/d/Set-Intersection
Search CPAN
http://search.cpan.org/dist/Set-Intersection/
Copyright 2009 turugina, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Set::Intersection, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Set::Intersection
CPAN shell
perl -MCPAN -e shell install Set::Intersection
For more information on module installation, please visit the detailed CPAN module installation guide.