Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Sampling From a Histogram Distribution

by davido (Cardinal)
on Jan 06, 2014 at 03:58 UTC ( [id://1069449]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Bytes::Random::Secure;
    
    ...
      for 1 .. 100;
    
    print "\n";
    
  2. or download this
    $ ./mytest.pl
    pairs    oranges    oranges    oranges    pairs    apples    oranges  
    +  apples
    ...
    peaches    pairs    oranges    oranges    oranges    pairs    oranges 
    +   oranges
    peaches    peaches    peaches    oranges    oranges    peaches    oran
    +ges    oranges
    ... and so on ...
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-23 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found