You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<bbkr> r: "a" ~~ m/{ say &?ROUTINE.WHAT } a/;
<p6eval> rakudo c3f565: OUTPUT«�[31m===�[0mSORRY!�[31m===�[0m�Undeclared name:� &?ROUTINE used at line 1��»
<moritz> r: say Regex ~~ Routine
<p6eval> rakudo c3f565: OUTPUT«True�»
<moritz> should refer to the regex itself
< TimToady> I wouldn't give /.../ a &?ROUTINE, since it functions mroe
like a block
< TimToady> regex {}, token {}, rule {} on the other hand are methods
I implemented this for regex/token/rule, but not for /.../ and there are
tests in roast in S02-magicals/sub.t.
Migrated from rt.perl.org#116417 (status was 'resolved')
Searchable as RT116417$
The text was updated successfully, but these errors were encountered: