Help for this page

Select Code to Download


  1. or download this
    my %datastructure = (
        forward_iteration => {
    ...
        reverse_iteration => {
        },
    );
    
  2. or download this
    my %datastructure = {
        elem1 => {
    ...
            reverse => 1,
        },
    };
    
  3. or download this
    $datastructures{$elem} = {
        forward => forward_val($elem),
        reverse => reverse_val($elem),
        other_way => other_way_val($elem),
    }