in reply to Re: Re: Creating random passwords?
in thread Creating random passwords?
Umm ... no offense meant toward sauoq, but why embed that code in a script when you can use Crypt::GeneratePassword instead?
IMHO, one-liners shouldn't be embedded in a script ... they are one-liners, not scripts. I am glad that sauoq posted that one-liner though ... you should study it and understand it. But when it comes to creating applications, you don't have to reinvent wheels like that.use Crypt::GeneratePassword qw(chars); my $pwd = chars(9,16,["a".."z","A".."Z",0..9]);
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (jeffa) 3Re: Creating random passwords?
by sauoq (Abbot) on Jul 04, 2003 at 08:54 UTC | |
by stonecolddevin (Parson) on Jul 06, 2003 at 05:20 UTC |