in reply to Removal of duplicated element in array.

Hi tty1x,
A few snapshot observations and 2 'kobo' suggestion:

Tested this out on codepad an online compiler/interpreter.

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me

Replies are listed 'Best First'.
Re^2: Removal of duplicated element in array.
by choroba (Cardinal) on May 07, 2013 at 15:12 UTC
    Perl 5.8.0? What a pitty :-(
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

      Yeap! I know. When the OP kept complaining about virtually all the solution given and he/she said he/she is using v5.10.1.
      I thought if the solution am presenting works on a version as old as v5.8.0, then it should work on v5.10.1. That was why I mentioned that.

      If you tell me, I'll forget.
      If you show me, I'll remember.
      if you involve me, I'll understand.
      --- Author unknown to me