indeed# WTF if ( defined $r && ref $r && ref $r eq 'HASH' && keys %$r ) { ... }
Exposed internals. I know about the guts. I'd like to not care. KTHX. ..if( $r and UNIVERSAL::isa($r,'HASH') and %$r ) { ... }
You don't need to know about the guts, but you do need to encode your data, if you care about its encoding.
In reply to Re^2: disadvantages of perl
by Anonymous Monk
in thread disadvantages of perl
by perldesire
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |