1/28 http://perltidy.sourceforge.net
This is a "beautifier" for Perl (like indent(1) for C). It hasn't been
really announced yet; the author would like it if people tried it out
to see if they can find real problems before it is announced to the
world. (Perl is hard to parse, so it will always be possible to write
code that perltidy treats differently than perl does; but it should
work on all code that people actually write, including obfuscated perl
contest entries.) --Galen
\_ but perl is all about writing cryptic one-liners.
\_ The perl beautifier will remove all the carriage returns for you.
\_ no, it just converts it to java
\_ Seems to work pretty well; I'd like an option to make/leave
lists/hashes as:
%foo = (
a => 1,
b => 2
);
instead of:
%foo = (
a => 1,
b => 2);
--dbushong
\_ That's the default; did you mean you want the two-line version?
\_ Sorry, without the trailing comma too; corrected above.
--dbushong
\_ the perl whore
\_ You know, Dave, Java would be faster for that. -Ilya
\_ DA STARS. WE WANT TO KNOW ABOUT DA STARS.
\_ You show me that Java is faster for declaring that
hash, in terms of "faster to write" or "faster
to run", and maybe I'll believe you. |