Help for this page

Select Code to Download


  1. or download this
    my %subs = ( path => [ @{$session{hierarchy_path}} ] );
    $subs{bottom_path_term} = ${pop(@{$subs{path}})}{term};
    if (@{$subs{path}}) { delete $subs{path}[$#{$subs{path}}]{id}; }
    else { delete $subs{path}; }
    
  2. or download this
    Before:
     'hierarchy_path' => [
    ...
                                      'term' => 'Education'
                                    }
                                  ],