In perl.git, the branch blead has been updated <https://perl5.git.perl.org/perl.git/commitdiff/4829a1eae86ed3e8609d4c93e7c8f8800785c4bb?hp=9c406fbf5719385e1b969f84216f239d3bb67b82>
- Log ----------------------------------------------------------------- commit 4829a1eae86ed3e8609d4c93e7c8f8800785c4bb Author: Tony Cook <[email protected]> Date: Wed Jan 16 09:42:16 2019 +1100 (perl #133751) qr// is already blessed ----------------------------------------------------------------------- Summary of changes: pod/perlfunc.pod | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 7c37a0e775..973a2612d7 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -6379,7 +6379,9 @@ C<HASH>, C<CODE>, C<FORMAT>, or C<IO>, indicating only which kind of object it is. If the unblessed referent is a scalar, then the return value will be one of the strings C<SCALAR>, C<VSTRING>, C<REF>, C<GLOB>, C<LVALUE>, or C<REGEXP>, depending on the kind of value the scalar -currently has. Beware that these built-in type names can also be used as +currently has. But note that C<qr//> scalars are created already +blessed, so C<ref qr/.../> will likely return C<Regexp>. Beware that +these built-in type names can also be used as class names, so C<ref> returning one of these names doesn't unambiguously indicate that the referent is of the kind to which the name refers. -- Perl5 Master Repository
