Help for this page

Select Code to Download


  1. or download this
    use Data::Diver qw( DiveVal );
    
    ...
       my $new_val = ...;
       DiveVal(\%hash, map \$_, @path) = $new_val;
    }
    
  2. or download this
    sub dive_val :lvalue {
       my $p = \shift;
    ...
       my $new_val = ...;
       dive_val(\%hash, @path) = $new_val;
    }