Furthermore you might be interested in letter frequency tables:
To use Perl you need a Perl interpreter on your system. You get it here:
http://www.perl.com/pub/a/language/info/software.htmlIn a Unix system add a first line to each script:
#!/usr/local/bin/perlor whatever the path to your Perl interpreter is. Then make the script executable and call it (e. g.) as follows:
myscript.pl < input.txtwhere input.txt is your input file. If you want to catch the output in another file, use (e. g.)
myscript.pl < input.txt > output.txtIn a Windows system you probably should call the script from the command line as follows:
perl myscript.pl < input.txt
perl myscript.pl < input.txt > output.txt