I was talking to Petruchio and others about typing speed the other day and to get a rough estimate of mine, I came up with a little program which I broke down to a one-liner:
perl -e'$x=time;print scalar(split/ /,<>)/(time-$x)*60'
It returns the number of WPM (words per minute) you type. (Tested with Perl 5.6.1)
Suggestions to make this more accurate are very welcome.
Zenon Zabinski | zdog | zdog7@hotmail.com
Back to
Cool Uses for Perl