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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How fast do I type?
by monkeygirl (Pilgrim) on Sep 10, 2001 at 21:37 UTC | |
by foogod (Friar) on Sep 10, 2001 at 23:37 UTC | |
by jeffa (Bishop) on Sep 11, 2001 at 04:16 UTC | |
by mischief (Hermit) on Sep 12, 2001 at 15:33 UTC | |
by foogod (Friar) on Sep 11, 2001 at 05:54 UTC | |
Re: How fast do I type?
by dga (Hermit) on Sep 14, 2001 at 03:02 UTC |
Back to
Cool Uses for Perl