in reply to Determine Reference Types
First, use the ref() function. If you need more power, use the reftype() function from Scalar::Util. Second, @_[0] should be written as $_[0].
In Section
Seekers of Perl Wisdom
in reply to Determine Reference Types