|There's more than one way to do things
Re^3: 2008 Winter Scripting Games have begunby xdg (Monsignor)
|on Feb 18, 2008 at 18:01 UTC
Wow. Four lines is pretty lean. Is that four statements? Just prompting for a number and reading it back is two, plus printing the result is three and that doesn't count opening the word list file. Or do you mean that the algorithm parts rather than the housekeeping parts are four lines?
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.