Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rjbond3rd
· 13y ago · 0 comments
"perl -c" checks syntax without executing. (Try it and you'll see a lot of syntax errors using perl 5, so no chance of it executing -- but even if you run it under perl 3, you have nothing to fear.)
Comments
[–]
cdman
13y ago
Careful with that. perl -c still runs the BEGIN blocks so don't rely on it for safety (ie. if you're handling untrusted code).