I think the message is obscure for a reason: the last thing you want is for
someone to make an insecure module look "safe" by just dropping that pragma
into it. You want to make them think about what they are doing.

On Thu, Jun 14, 2018 at 1:32 PM ToddAndMargo <toddandma...@zoho.com> wrote:

> Dear Perl6 Developers,
>
> https://docs.perl6.org/language/5to6-perlfunc#eval
>
> Would you please consider adding
>
>       ::('&' ~ $RunSpecific)()
>       &::($RunSpecific)()
>
> to the documentation, as well as an explanation of
> the error message when using EVAL
>
> ===SORRY!=== Error while compiling /home/linuxutil/GetUpdates.pl6
> EVAL is a very dangerous function!!! (use the MONKEY-SEE-NO-EVAL pragma
> to override this error,
> but only if you're VERY sure your data contains no injection attacks)
> at /home/linuxutil/GetUpdates.pl6:6016
> ------> else { EVAL "$RunSpecific"⏏; }
>
> Be sure to turn the "use the MONKEY-SEE-NO-EVAL pragma" phrase into
> `use MONKEY-SEE-NO-EVAL;` as the sentence is to obscure otherwise.
>
>
> Many thanks,
> -T
>


-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to