Help for this page

Select Code to Download


  1. or download this
    use Data::Dumper;
    $x = {};
    ...
    1 if ( exists $x->{Y}{X}  ) ;
    1 if ( defined $x->{Z}{A}  );
    print Dumper $x;
    
  2. or download this
    $VAR1 = {
              'Z' => {},
              'Y' => {}
            };
    
  3. or download this
    if ( $x->{Y} ) {
      if ( $x->{Y}{Z} ) {
        1 if ( $x->{Y}{Z}{A} ) ;
      }
    } ; # $VAR={};