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?
-xdg
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.
In reply to Re^3: 2008 Winter Scripting Games have begun
by xdg
in thread 2008 Winter Scripting Games have begun
by sg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |