Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

(jeffa) Re: Using vim for highlighting in Perl

by jeffa (Bishop)
on Mar 26, 2003 at 16:22 UTC ( [id://245981]=note: print w/replies, xml ) Need Help??


in reply to Using vim for highlighting in Perl

I have not tried this simply because we already have perltidy:

perltidy -html -css=mystyle.css somefile.pl
Perltidy 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)
  • Comment on (jeffa) Re: Using vim for highlighting in Perl

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://245981]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2025-07-18 03:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.