NAME
Array::Unique - make all Array elements unique
SYNOPSIS
use Array::Unique;
my @myarray = qw[one two one three];
unique(\@myarray);
# @myarray now equals qw[one three two]
DESCRIPTION
Array::Unique is a simple replacement function to make all array elements unique.
Warnings: This re-sorts array elements (changes order and therefore element index of all elements);
This module is designed for convenience and readable code rather than for speed.
FUNCTIONS
This module currently exports its only function by default:
unique()
unique() takes one array reference and replaces the array with one that only holds all unique values.
SEE ALSO
AUTHOR
Rene Schickbauer, <cavac@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2017 by Rene Schickbauer
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.24.0 or, at your option, any later version of Perl 5 you may have available.