John Douglas Porter writes: > But if you want to be anal, and throw your own exceptions on the wrong > types of refs, then Scalar::Util lets you avoid having to reinvent the > ref-testing wheel, mostly.
But please don't! I've encountered a few Cpan modules which want a filename as a string. A Path::Class::File object overloads very nicely as a string of a filename, but excessive reference testing by the modules in question meant it got rejected. Sorry, this isn't fun. Smylers