develooper Front page | perl.perl6.users | Postings from June 2018

RFE: eval documentation

Thread Next
From:
ToddAndMargo
Date:
June 14, 2018 17:31
Subject:
RFE: eval documentation
Message ID:
54c37737-4ac8-7a12-8e74-a7268b70150e@zoho.com
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

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About