chuleto1 has asked for the wisdom of the Perl Monks concerning the following question:
Help Monks!
I would like to know how to have my @array keep one instace of repeated elements. (e.g.)
my @array = qw( foo bar match zoot zoot match match match ) ;
#do something here to the array
print @array;
Out put: foo bar match zoot
thank you
I would like to know how to have my @array keep one instace of repeated elements. (e.g.)
my @array = qw( foo bar match zoot zoot match match match ) ;
#do something here to the array
print @array;
Out put: foo bar match zoot
thank you
Back to
Seekers of Perl Wisdom