in reply to Using vim for highlighting in Perl
perltidy -html -css=mystyle.css somefile.plPerltidy rocks. See also Perl::Tidy, which is the actual 'guts' of perltidy.
UPDATE:
Ooooops ... i glanced over "ranging from Perl to config files to Java, etc." Hmmmm, i do know that gvim has a
menu command Syntax->Convert to HTML, but i do
not know how to access this via command line. If you can
indeed do such, a Cheap Solution® might be to fork and
exec a another process. Coding only in Perl is another
choice i can think of ... ;)
UPDATE x 2:
ndwg++ :)
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
---|