in reply to Re^3: Removal of duplicated element in array.
in thread Removal of duplicated element in array.
Yup, I am using Perl v5.10.1 .
The \n is simply for readability purposes, so if it isn't there, it is still alright.
The output of your code outputs the same result as the input with duplicates.