add perl script/module and ruby module

this adds syntax-check-only and module/script variants for perl and ruby which support them. 

The results for my machine are below:

```
python                         real 0m1.688s user 0m1.499s sys 0m0.187s
perl script (syntax check)     real 0m0.953s user 0m1.030s sys 0m0.000s
ruby script                    real 0m0.688s user 0m0.593s sys 0m0.140s
ruby module                    real 0m0.641s user 0m0.593s sys 0m0.046s
ruby script (syntax check)     real 0m0.516s user 0m0.452s sys 0m0.077s
lua                            real 0m0.188s user 0m0.171s sys 0m0.015s
luajit                         real 0m0.094s user 0m0.093s sys 0m0.030s
perl module                    real 0m0.031s user 0m0.046s sys 0m0.015s

python (precompiled)           real 0m0.047s user 0m0.030s sys 0m0.031s
lua (precompiled)              real 0m0.016s user 0m0.030s sys 0m0.015s
luajit (precompiled)           real 0m0.016s user 0m0.030s sys 0m0.015s
```

Looks like script/module/syntax-check makes small difference for ruby and big difference for perl, unless I'm missing something.


how about adding "| grep version" so Perl outputs one line like everything else.

Besides that it looks good to me.