in reply to The instance/type of a variable
if ( ref( $your_var ) =~ /HASH/ ) { ... } [download]
if ( ref( $your_var ) eq 'HASH' ) {...} [download]
Phil