New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(wontfix?): perl -c executes BEGIN and CHECK blocks #5590
Comments
From nxadm@apt-get.beHi, This is more of a post-it note than a real feature request, but here it goes (related with #128983) 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. Because of this, the perl 5 (perl -c) and perl 6 syntax checkers are disabled by default and must be explicitly enabled by the user. C. |
From @geekosaurOn Thu, Aug 18, 2016 at 9:13 AM, Claudio <perl6-bugs-followup@perl.org>
The problem is that you probably can't parse the code successfully if you -- |
The RT System itself - Status changed from 'new' to 'open' |
From @pmichaudOn Thu, Aug 18, 2016 at 10:38:57AM -0400, Brandon Allbery wrote:
Also, many things in Perl 6 get executed at BEGIN time even if they're For example: $ cat xyz.p6 Pm |
From nxadm@apt-get.beOn Thu, Aug 18, 2016 at 6:21 PM, Patrick R. Michaud via RT <
Taking Brandon's answer in considiration, does this mean that no perl6 code C. |
From @geekosaurOn Thu, Aug 18, 2016 at 6:18 PM, Claudio <nxadm@apt-get.be> wrote:
I did say "while this is less true for perl 6 code in the wild" --- in perl -- |
From nxadm@apt-get.beThank you for the clarification. That means that at the moment, most files As 'perl6 -c' being for now the *only* way to check the syntax of a code I am just thinking out loud, but could a different restricted core binary C. On Fri, Aug 19, 2016 at 1:25 AM, Brandon Allbery via RT <
|
Migrated from rt.perl.org#128984 (status was 'open')
Searchable as RT128984$
The text was updated successfully, but these errors were encountered: