Help for this page

Select Code to Download


  1. or download this
    $root = { value => [ ... ]};
    
  2. or download this
    { type => 'items', value => [ ... ]}   # and other key-value pairs
    { type => 'foo',   value => { ... }}   # and other key-value pairs
    
  3. or download this
    sub foobar {
        my $href = shift;
    ...
                : $_ 
        } @{ $href-> { value }}];
    }
    
  4. or download this
    sub foobaz {
        my $href = shift;
    ...
            SPLIT_IF_FOO( $_ )
        } @{ $href-> { value }}];
    }
    
  5. or download this
    sub fooqux {
        $aref = shift;
    ...
            SPLIT_IF_FOO( $_ )
        } @$aref
    }
    
  6. or download this
    sub fooquux {
        $aref = shift;
    ...
            $i += $#list
        }
    }