in reply to Perl Destroys Interview Question
Of course, your Perl solution (which is incorrect as it counts lines, not words) take more than 5 times the lines a shell
solution would take:
cat words.dat | tr 'A-Z ' 'a-z\012' | sort | uniq -c
I'd like to point out that for some problems, other solutions are more suited than Perl.
Abigail
In Section
Meditations