http://www.perlmonks.org?node_id=923635


in reply to Perl diagnostics

There's perl -c (see perlrun) but note that it WILL execute code found in BEGIN blocks and modules loaded with use.

But why don't you just install a webserver on your workstation?