The FAQ I linked to states in the first line:
"There's an example of this in crypt"
Which contains some code very similar to your solution.
In reply to Re^3: Password Entry using Core modules only?
by marto
in thread Password Entry using Core modules only?
by raybies
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |