On Thu, Aug 18, 2016 at 9:13 AM, Claudio <perl6-bugs-follo...@perl.org>
wrote:

> Tools like vim-syntastic and atom use 'perl6-c' (the only valid linter for
> now) to report syntax errors. Because "perl6 -c" executes code (BEGIN and
> CHECK blocks as documented), this is a security concern for external code.


The problem is that you probably can't parse the code successfully if you
can't run BEGIN blocks. While this is currently less true of perl 6 code in
the wild, it's actually even worse in potential than perl 5's ability to
mutate its parser because a module can implement entire new languages.

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