Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by BrowserUk (Patriarch)
on Dec 07, 2012 at 05:37 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1007687]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-03-28 09:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found