SPUG: perltidy HTML colorer

Andrew Sweger andrew at sweger.net
Sat Dec 22 18:51:40 CST 2001


Many editors provide the same service directly on the source code in
questions. vi/vim/Nedit/etc. Of course, they don't clean up your friend's
code like perltidy does. Very handy on code written by those freaks that
use a single space indent. I know you're out there! Picture Charlton
Heston shaking his fist in the air, "Damn you single space indents! Damn
you all to hell!" :)

On Sat, 22 Dec 2001, Geoffrey Grosenbach wrote:

> I can't believe Tim neglected to mention perltidy's incredible "-html" 
> switch that turns sourcecode into colored html (variables one color, 
> functions another, comments another, etc.). I've been going nuts through 
> my hard drive, html coloring all my sourcecode.
>    It seems this would be useful when trying to read someone else's 
> sourcecode, especially if it wasn't commented much.

-- 
Andrew B. Sweger -- The great thing about multitasking is that several
                                things can go wrong at once.


 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
     Seattle Perl Users Group (SPUG) Home Page: http://zipcon.net/spug/





More information about the spug-list mailing list