Re: [Boston.pm] Tabby Perltidy

2006-11-29 Thread Bill Ricker
 Normalizing to tabs by adding -t (1 tab per level of indentation) to
 the existing command ought to work too. 'tis a shame it does not DWIM.

-t says not with -ola or -html or some such, so I'm trying
expand  temp.pl
to normalize away from tabs before perltidy -html

-- 
Bill
[EMAIL PROTECTED] [EMAIL PROTECTED]
 
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm


[Boston.pm] Tabby Perltidy

2006-10-12 Thread Duane Bronson
Concerning perl tidy and why it wasn't working perfectly Tuesday night:

Oh http://web.mit.edu/belg4mit/www/5/, Jared uses this syntax:
perltidy -html -nnn -css=style.css mods.pl

but perltidy doesn't seem to convert tabs to spaces when -html is 
specified, and thus when the numbers are added (-nnn), some lines are 
unaligned.  For people not using an expandtabs option in their editor, I 
recommend running perltidy twice:
perltidy mods.pl
perltidy -html -nnn -css=style.css mods.pl.tdy

-- 
Sincerely   *Duane Bronson*
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
http://www.nerdlogic.com/
453 Washington St. #4A, Boston, MA 02111
617.515.2909

 
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm


Re: [Boston.pm] Tabby Perltidy

2006-10-12 Thread Jerrad Pierce
Normalizing to tabs by adding -t (1 tab per level of indentation) to
the existing command ought to work too. 'tis a shame it does not DWIM.
-- 
Free map of local environmental resources: http://CambridgeMA.GreenMap.org
--
MOTD on Setting Orange, the 66th of Bureaucracy, in the YOLD 3172:
Think of it as evolution in action --Larry Niven
 
___
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm