|
|
|
|
|
by spjwebster
4966 days ago
|
|
This is an issue[1] that SublimeLinter ran into when syntax checking Perl modules. Code in a BEGIN block (which gets executed at compile-time) could actually delete files when using `perl -c` to handle syntax checking: BEGIN { `rm -rf $ENV{HOME}` } They had to switch to using static analysis rather than relying on Perl's built in syntax checking to avoid executing code in BEGIN blocks. [1] https://github.com/SublimeLinter/SublimeLinter/issues/77 |
|