|Subject:||reftype on Regexp doesn't behave as expected|
|Date:||Fri, 7 Dec 2018 14:40:37 -0800|
|To:||bug-Scalar-List-Utils [...] rt.cpan.org|
|From:||Bob Kleemann <rkleemann [...] gmail.com>|
The output of "perl -MScalar::Util=reftype -E 'say reftype(qr/abc/)'" does not return the same value as "perl -E 'say ref(qr/abc/)'"? Specifically, the first returns the all-capitals REGEXP, whereas the latter returns the mixed-case Regexp. I would expect that the return values for reftype would either match those as documented for ref, or that the documentation would note the differences.