in reply to Using vim for highlighting in Perl

To run the html converter from the command line, do
gvim -c ":so C:\Vim\vim61\syntax\2html.vim" file.pl
replacing the C:\Vim\vim61 with the appropriate dir and file.pl with the appropriate file. This will not save the file. I'd copy 2html.vim to a local dir, add the commands to save and exit (:wq! probably) and source that.

HTH, --traveler