Thanks to jmcnamara, we have this example:
perl -le 'print map{(a..z)[rand 26]} 0..rand 10'
which I have extended thusly:
perl -le 'print map{(a..z,A..Z,0..9)[rand 62]} 0..7'
and which you could extend as needed.
In reply to Re: Random string generator
by t'mo
in thread Random string generator
by ibanix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |