ashaman has asked for the wisdom of the Perl Monks concerning the following question:
print "gimme a seed: "; $s = <STDIN>; srand ($s ^ time); @chars = qw(b c d f g h j k l m n p r s t v w x z); @vowels = qw(a e i o u y); for($i = 1; $i <= 4; $i++) { print $chars[int(rand(20))], $vowels[int(rand(5))]; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: random passgen
by Aighearach (Initiate) on May 04, 2001 at 07:02 UTC | |
|
Re: random passgen
by bent (Scribe) on May 04, 2001 at 06:42 UTC | |
by merlyn (Sage) on May 04, 2001 at 18:53 UTC | |
|
Re: random passgen
by chipmunk (Parson) on May 04, 2001 at 06:43 UTC | |
|
(tye)Re: random passgen
by tye (Sage) on May 04, 2001 at 19:03 UTC | |
by ashaman (Sexton) on May 05, 2001 at 04:30 UTC | |
by tye (Sage) on May 05, 2001 at 08:03 UTC |