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

Re: RFE: eval documentation

Thread Previous | Thread Next
From:
JJ Merelo
Date:
June 14, 2018 21:20
Subject:
Re: RFE: eval documentation
Message ID:
CAJoLtgdGVL20mmkYhgYZdbHVNkLS_-shZjARJvGs19FYYt9Muw@mail.gmail.com
Can you please open an issue in perl6/doc? It's the best to track it, and
also to check that it's been solved to everyone's satisfaction.

If you can't for any reason, I can open it for you, but I'll have to keep
coming back to see if it's OK when solved...

El jue., 14 jun. 2018 a las 20:12, ToddAndMargo (<ToddAndMargo@zoho.com>)
escribió:

> On 06/14/2018 10:31 AM, ToddAndMargo 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
>
>
> Be nice to the alternative
>
>       ::('&' ~ $RunSpecific)()
>       &::($RunSpecific)()
>
> and why in
>
> https://docs.perl6.org/routine/EVAL
>
> too
>
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Computers are like air conditioners.
> They malfunction when you open windows
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>


-- 
JJ

Thread Previous | 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