Help for this page
Select Code to Download
Select
or
download this
!$history{$_}++ && splice(@history, $i--, 1);
Select
or
download this
my %seen; @history = reverse grep { !$seen{$_}++ } reverse @history;