Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Idiom to return 0 or random number of array elements

by BrowserUk (Pope)
on Dec 07, 2012 at 05:37 UTC ( #1007687=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @array = 0 .. 9;;
    
    ...
    
    pp \%stats;;
    { "0" => 90, 1 => 103, 2 => 126, 3 => 99, 4 => 101, 5 => 101, 6 => 88,
    + 7 => 97, 8 => 105, 9 => 90 }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2014-09-21 17:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (173 votes), past polls