Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: How to generate random sequence of UTF-8 characters

by bart (Canon)
on Dec 21, 2012 at 12:28 UTC ( #1009908=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $chosencodepoint = $codepoints[int rand @codepoints];
    
  2. or download this
    $string = pack 'U*', @chosencodepoints;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1009908]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2016-04-29 12:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.