in reply to Re: disadvantages of perl
in thread disadvantages of perl
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: disadvantages of perl
by ikegami (Patriarch) on Jul 02, 2009 at 15:52 UTC | |
Re^3: disadvantages of perl
by Anonymous Monk on Jul 02, 2009 at 14:36 UTC | |
by chromatic (Archbishop) on Jul 02, 2009 at 23:08 UTC |
In Section
Seekers of Perl Wisdom