Problems? Is your data what you think it is? | |
PerlMonks |
Re: How to generate random sequence of UTF-8 charactersby tobyink (Canon) |
on Dec 20, 2012 at 20:26 UTC ( [id://1009792]=note: print w/replies, xml ) | Need Help?? |
Here's a string containing every Unicode word character (i.e. alphanumeric plus underscore) in a random order.
Now split that up into parts of whatever length you like!
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
In Section
Seekers of Perl Wisdom
|
|