Unique words from string :A:bbb:123:end:11:one:jkjd:kjbefkjefb:word:00
Sorted by frequency :word => 4 a => 2 end => 2 123 => 1 => 1 jkjd => 1 11 => 1 bbb => 1 one => 1 00 => 1 kjbefkjefb => 1
Unique words from file given as a parameter:
usr
bin
perl
Split
file
into
words
Print
unique
in
original
order
1LINER
_____________________________________________________
content
type
text
html
n
s
from
string
join
grep
w
lc
_
Or
if
we
wanted
to
sort
them
by
frequency
hash
value
br
Sorted
map
b
keys
ARGV
0
process
this
given
as
parameter
for
See
also
count_words