Help for this page

Select Code to Download


  1. or download this
    # Traverse a tree using localize state
     $tree = [
    ...
     # q.3.4 = three_four 
     # q.4 = four 
     # q.5.1.1 = five_one_one
    
  2. or download this
    my @servers = (
         {
    ...
         },
         ...
    );
    
  3. or download this
    use constant { TOTAL => 0, FREE => 1 };
    
    ...
            printf "\tTotal: %d  Free: %d\n", @{ $target }[ TOTAL, FREE ];
        }
    }