Just another Perl shrine | |
PerlMonks |
RE: Random numberby Anonymous Monk |
on Jul 10, 2000 at 01:20 UTC ( [id://21725]=note: print w/replies, xml ) | Need Help?? |
Here's how I generate random strings. You can just have 0 .. 9 in @Chars if you want an integert. And change 1 .. 30 to loop however many times you like - this example creates a random string that is 30 chars long.
In Section
Seekers of Perl Wisdom
|
|