in reply to Missing ref() return possibility?
The types you list are the basics. All other cases are covered by "If the referenced object has been blessed into a package, then that package name is returned instead."
For regular expressions, this is demonstrated by:
use Scalar::Util qw/blessed/; $q=qr//; print ref($q); print blessed($q); __END__ Regexp Regexp
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Missing ref() return possibility?
by kyle (Abbot) on May 16, 2008 at 21:51 UTC |
In Section
Seekers of Perl Wisdom