$ perl -wle '%h = map { print unless defined($h{$_}); $_ => $h{$_}++ } + split(//,q{abcdabcdabcd}); ' a b c d
In reply to Re: How to avoid the duplication in a string
by andreas1234567
in thread How to avoid the duplication in a string
by soubalaji
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |