4 ms·
Also note that "perl -c" can't be used securely against untrusted code: $ echo 'BEGIN{`cowsay pwned > /dev/tty`}' > test.pm $ perl -Mstrict -cw test.pm
by jwilk 6y ago
Also note that "perl -c" can't be used securely against untrusted code:
$ echo 'BEGIN{`cowsay pwned > /dev/tty`}' > test.pm
$ perl -Mstrict -cw test.pm
_______
< pwned >
-------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
test.pm syntax OK
- obrajesse 6y agoAlso, it looks like the perl linter only triggers against .pl files and not .pm files