{ this_rule=>'some value' } # These rules {} # no rules 0 or undef # no rules (! UNIVERSAL::isa($var, 'HASH') and false) { all_rules=>1 } #all rules 1 # all rules ( ! UNIVERSAL::isa($var, 'HASH') and true)