in reply to Re: How to Check whether the Function Parameter is a Scalar or a Hash
in thread How to Check whether the Function Parameter is a Scalar or a Hashref

Per Ovid's cautions, it is more robust to use UNIVERSAL::isa than ref if you are looking for a specific base type.

Caution: Contents may have been coded under pressure.
  • Comment on Re^2: How to Check whether the Function Parameter is a Scalar or a Hash