in reply to Re: How to tell if I have a string, or a ref to a hash
in thread How to tell if I have a string, or a ref to a hash

Thanks very much, all. It's interesting that not only had I never heard of 'ref', but that my searches through the index of the Camel Book didn't turn it up. I've decided to use Scalar::Util::reftype.

Thanks also for the note on prototypes.
  • Comment on Re^2: How to tell if I have a string, or a ref to a hash

Replies are listed 'Best First'.
Re^3: How to tell if I have a string, or a ref to a hash
by jakeease (Friar) on Oct 19, 2010 at 18:44 UTC
    The ref function is in the index of the camel book in both the 2nd and 3rd editions. The original pink one is in a box in my garage, so I don't know about that one.