if( UNIVERSAL::isa($r,'HASH') and %$r ) { ... } [download]
In reply to Re^3: disadvantages of perl by Anonymous Monk in thread disadvantages of perl by perldesire