in reply to Deleting duplicate lines from file
perl -ne 'print if !$saw{$_}++' perl -pe'$s{$_}++and$_=$,' [download]
I like this minimalistic bit of code :-) ... You win!
perl -pe'$_{$_}++and$_=$,' [download]