Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Algorithm Help

by TGI (Vicar)
on Jan 19, 2010 at 01:50 UTC ( #818089=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @items = (
        # 0
    ...
    
        ...
    ); 
    
  2. or download this
    my @in_range = map @{$items[$_]}, 3..5;
    my $item = $in_range[ int rand( @in_range ) ];
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2015-01-29 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My top resolution in 2015 is:

















    Results (235 votes), past polls