Help for this page

Select Code to Download


  1. or download this
    my $f;
    $f = $h->{b}{c}{d} if exists($h->{b}{c}) and exists($h->{b}{c}{d});
    
  2. or download this
    use feature 'state';  # 'use 5.10' or later also gives this automatica
    +lly
    state $f = $h->{b}{c}{d} if exists($h->{b}{c}) and exists($h->{b}{c}{d
    +});