in reply to Re: Re: Random string generator
in thread Random string generator
A very explicit version would have been:
which does exactly the same thing as$chars[int rand scalar @chars]
The net effect is that all array indexes have the same change of being chosen.$chars[rand @chars]
|
|---|