NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Perl::Tidy (Score:2)
Perl::Tidy is your friend! :)
I don't manually format any code any more.
Re: (Score:1)
And you can make it do this, how?
Re: (Score:1)
into this:
instead of:
I'd appreciate any config hints you have, I just started and am currently trying to set it up to match our current c
Re: (Score:2)
I normally hit Command-Shift-H :P
My .perltidyrc doesn't cuddle the ( and {, } and ) but I think I recall an option that covers that.
Here's what that code looks like for me:
cperl-mode has some functions for this (Score:1)
One nit on your elisp code... the style like this:
<code>
(foo
(bar
baz
)
)
</code>
Looks really weird. All the close parens should be on the same line:
<code>
(foo
(bar
baz))
</code>
This is the "official" emacs lisp standard, and I think most other Lisps like the same sort of formatting.