From 97352077e6c6c736a003d2b96eedafe612acf92a Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 4 Nov 2009 18:54:31 +0100 Subject: Document qr overloading in perldelta --- pod/perl5112delta.pod | 8 ++++++++ 1 file changed, 8 insertions(+) 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 section. +=head2 qr overloading + +It is now possible to overload the C 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. + =head1 New Platforms XXX List any platforms that this version of perl compiles on, that previous -- cgit v1.2.1