[TriLUG] formatting (tabbing) perl scripts
William R. Gomeringer
pihlopase at pihlopase.net
Sat Apr 24 13:24:13 EDT 2004
Well, for C and C++ there is indent:
http://packages.debian.org/unstable/devel/indent
link to the Debian package.
Also, this might help with the Perl code:
http://mlug.missouri.edu/list-archives/members/1999-09/msg00114.php3
Also have a look at:
http://search.cpan.org/~shancock/Perl-Tidy-20031021/lib/Perl/Tidy.pm
Hope that helps some.
William
On Sat, 2004-04-24 at 13:01, Douglas Kojetin wrote:
> also, if anyone knows of anything that will work with C, tcl and
> python, please pass along too! (does not have to be the same
> script/program)
>
> thanks,
> doug
>
> On Apr 24, 2004, at 12:57 PM, Douglas Kojetin wrote:
>
> > i've got a perl script with quite a bit of code. i had to add a few
> > more 'if/else' statements, and instead of manually tabbing everything
> > over (puts ease on my eyes), i was wondering if there was a program
> > and/or script that anyone knows of that might automagically do this
> > for me (scan through the code and tab it according to its structure)?
> > i've seen programs that format HTML quite efficiently (html tidy, i
> > think it was called), but i haven't really looked for anything else.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20040424/1509de9a/attachment.pgp>
More information about the TriLUG
mailing list