diff options
author | Rafael Garcia-Suarez <rgs@consttype.org> | 2009-11-04 18:54:31 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgs@consttype.org> | 2009-11-04 18:54:31 +0100 |
commit | 97352077e6c6c736a003d2b96eedafe612acf92a (patch) | |
tree | dd8df650e757bd2560245e3d050f4564f5e58694 | |
parent | d83f38d8facaed626f27ae5d9f0f66709664dc5e (diff) | |
download | perl-97352077e6c6c736a003d2b96eedafe612acf92a.tar.gz |
Document qr overloading in perldelta
-rw-r--r-- | pod/perl5112delta.pod | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pod/perl5112delta.pod b/pod/perl5112delta.pod index aea02f3829..4d524670b3 100644 --- a/pod/perl5112delta.pod +++ b/pod/perl5112delta.pod @@ -44,6 +44,14 @@ XXX New core language features go here. Summarise user-visible core language enhancements. Particularly prominent performance optimisations could go here, but most should go in the L</Performance Enhancements> section. +=head2 qr overloading + +It is now possible to overload the C<qr//> operator, that is, conversion +to regexp, like it was already possible to overload conversion to +boolean, string or number of objects. It is invoked when an object +appears on the right hand side of the C<=~> operator, or when it is +interpolated into a regexp. See L<overload>. + =head1 New Platforms XXX List any platforms that this version of perl compiles on, that previous |