in reply to Re: Return a Unique Array
in thread Return a Unique Array

Besides efficiency (which is often less important than you think, but not always), it's wrong. Consider
@oldarray = ('one', 'between one and two', 'two');