http://qs321.pair.com?node_id=208517


in reply to Crypto

Generating password for users? Isn't that supposed to be done with rand()?

Something like this:

my @possible_chars = 'a'..'z'; my $passw = ''; $passw .= $possible_chars[int rand scalar @possible_chars] for(1..8);

Either that, or I have totally misunderstood your question. Sorry if that is the case.