Also Scalar::Util::reftype.
Makeshifts last the longest.
In reply to Re: Determining contents type of a Scalar by Aristotle in thread Determining contents type of a Scalar by valhalla418