|XP is just a number|
Random string generatorby ibanix (Hermit)
|on Feb 06, 2003 at 01:43 UTC||Need Help??|
ibanix has asked for the
wisdom of the Perl Monks concerning the following question:
I've got the need to generate a psuedo-random 8-character string. This is what I coded up:
This works, but I suspect it isn't the best way to do it. As you can tell, it only returns uppercase letters ("A" .. "Z"). Is there a better way to go about this?
$ echo '$0 & $0 &' > foo; chmod a+x foo; foo;