[perl #131409] whatever auto closure fails with smartmatch with regex

2018-02-02 Thread Zoffix Znet via RT
On Wed, 31 May 2017 03:31:49 -0700, zengargo...@gmail.com wrote: > When using smartmatch against a regex, auto-whatever closure generation > does not work whereas manual pointy closure does work. > > A '{ * eq $match}' behaves differently than a '{ * ~~ /<$match>/}'. > However, '-> $x { $x ~~ <$ma

[perl #131409] whatever auto closure fails with smartmatch with regex

2018-02-02 Thread Zoffix Znet via RT
On Wed, 31 May 2017 03:31:49 -0700, zengargo...@gmail.com wrote: > When using smartmatch against a regex, auto-whatever closure generation > does not work whereas manual pointy closure does work. > > A '{ * eq $match}' behaves differently than a '{ * ~~ /<$match>/}'. > However, '-> $x { $x ~~ <$ma

[perl #131409] whatever auto closure fails with smartmatch with regex

2017-09-14 Thread Brian S. Julin via RT
On Wed, 31 May 2017 03:47:19 -0700, c...@zoffix.com wrote: > On Wed, 31 May 2017 03:31:49 -0700, zengargo...@gmail.com wrote: > > When using smartmatch against a regex, auto-whatever closure generation > > does not work whereas manual pointy closure does work. > > > > A '{ * eq $match}' behaves di

[perl #131409] whatever auto closure fails with smartmatch with regex

2017-05-31 Thread Zoffix Znet via RT
On Wed, 31 May 2017 03:31:49 -0700, zengargo...@gmail.com wrote: > When using smartmatch against a regex, auto-whatever closure generation > does not work whereas manual pointy closure does work. > > A '{ * eq $match}' behaves differently than a '{ * ~~ /<$match>/}'. > However, '-> $x { $x ~~ <$ma

[perl #131409] whatever auto closure fails with smartmatch with regex

2017-05-31 Thread Zoffix Znet via RT
On Wed, 31 May 2017 03:31:49 -0700, zengargo...@gmail.com wrote: > When using smartmatch against a regex, auto-whatever closure generation > does not work whereas manual pointy closure does work. > > A '{ * eq $match}' behaves differently than a '{ * ~~ /<$match>/}'. > However, '-> $x { $x ~~ <$ma

[perl #131409] whatever auto closure fails with smartmatch with regex

2017-05-31 Thread via RT
# New Ticket Created by zengargoyle # Please include the string: [perl #131409] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131409 > When using smartmatch against a regex, auto-whatever closure generation does not work wher