Hi,
I'm writing a paper comparing the use of Perl, Python and Java. My Perl is pretty bad (as is my Python), so I thought I would check to see if there is a more efficient way of doing it. Here is the Perl program http://www.rafb.net/paste/results/4px8PI74.html If there is a more efficient, but readable way to write the script (especially, it would see the first for loop which filters out names longer than 4 characters) I would really appreciate it. Here is the Java program http://www.rafb.net/paste/results/4ayJvD89.html Here is the same program in Python http://www.rafb.net/paste/results/0duPmI65.html Thanks, Richard