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
The EVAL as a sub shows an error message about MONKEY-SEE-NO-EVAL:
m: my $x = 'say "hello"'; EVAL "$x"
rakudo-moar 58dc8c: OUTPUT«===SORRY!=== Error while compiling <tmp>EVAL is a very dangerous function!!! (use MONKEY-SEE-NO-EVAL to override,but only if you're VERY sure your data contains no injection attacks)at <tmp>:1------> my $x = 'say "hello"'; EVAL "$x"…»
However, if the method form of EVAL is used, no such error is generated:
m: my $x = 'say "hello"'; "$x".EVAL
rakudo-moar 58dc8c: OUTPUT«hello»
Expected behaviour: both versions show the error.
Migrated from rt.perl.org#128684 (status was 'open')
Searchable as RT128684$
The text was updated successfully, but these errors were encountered: