Help for this page

Select Code to Download


  1. or download this
    my($foo);
    
    ...
      $foo = getValue();
      codeThatUsesFoo($foo);
    }
    
  2. or download this
    for ($i = 0; $i < $a_huge_value; $i++) {
       my $foo = getValue();
       codeThatUsesFoo($foo);
    }
    
  3. or download this
    my($key);
    my($value);
    ...
    for ($i = 0; $i < $a_whole_lot; $i++) {
      my($key, $value) = returnsAnArray();
    }