sub foo { isa( $_[0], 'HASH' ) ? _foo_hash( $_[0] ) : _foo_scalar( $_[0] ); } [download]
In reply to Re: Is it a scalar or a hash? by Masem in thread Is it a scalar or a hash? by DrZaius