[EXPERIMENT] smartmatch and given/when #13173
Comments
From @rjbsOkay, the ~~/given/when feature, introduced in perl 5.10.0, has been discussed http://www.nntp.perl.org/group/perl.perl5.porters/2012/08/msg191210.html Sprout did a bit of work on implementing things as discussed and this work then Steps to resolve this: * review the work currently done (sprout/smartpatch) (See also http://markmail.org/message/eplhjfyep6yigwtl ) I will try to get this moving again as much as I can so we can bring it to a -- |
From @rjbs* Ricardo SIGNES <perlbug-followup@perl.org> [2013-08-15T21:53:06]
In chosing the phrase "a bit of work," I did not mean to make any claim about -- |
The RT System itself - Status changed from 'new' to 'open' |
From @cpansproutOn Thu Aug 15 18:53:06 2013, rjbs wrote:
IIRC, the last two issues that had not been ironed out were OK, that last bit was tongue-in-cheek. However, you never gave a full This is all from memory. I haven’t gone to look back at the archives. Another note: Amidst the whirling threads about how smartmatch should -- Father Chrysostomos |
From @HugmeirOn Sun, Aug 18, 2013 at 3:41 AM, Father Chrysostomos via RT <
You can already implement this without having to modify the core: package Regexp { use overload q[&{}] => sub { my ($re) = $_[0]; sub { So perhaps it should be tested on CPAN first. I don't see much use for it, sub Regexp::match { return $_[1] =~ $_[0] } But I guess that's what autobox is for. [*] For the curious, yes, I've spent an inordinate amount of time reading |
Migrated from rt.perl.org#119317 (status was 'open')
Searchable as RT119317$
The text was updated successfully, but these errors were encountered: