Help for this page

Select Code to Download


  1. or download this
    $rec{NOTE}{Nested}
    
  2. or download this
    $rec{NOTE}->{Nested}
    
  3. or download this
    ( $rec{NOTE} //= {} )->{Nested}
    
  4. or download this
    use strict;
    use warnings;
    ...
    printf "exists:  %s\n", exists($rec{NOTE})  ?1:0; 
    printf "defined: %s\n", defined($rec{NOTE}) ?1:0;
    printf "true:    %s\n", $rec{NOTE}          ?1:0;
    
  5. or download this
    exists:  0
    defined: 0
    ...
    exists:  1
    defined: 1
    true:    1