Help for this page

Select Code to Download


  1. or download this
    @a = ( 1 .. 10 );;
    
    $a[$_] = ( $a[$_]+1 ) % 10 for 0 .. 9;;
    print @a;;
    2 3 4 5 6 7 8 9 0 1
    
  2. or download this
    $things{ $thing }{$someotherkey}[$someindex]{$somekey}[ $_ ]