Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: why the array index has to start at 0??

by YuckFoo (Abbot)
on Jun 23, 2009 at 14:24 UTC ( #774038=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      $buffer[$i++ % $SIZE] = $foo;
    
  2. or download this
      $pick = $array[rand(@array)];
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-09-16 11:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (13 votes), past polls