Subject: | perl-tidy doesn't tidy long lines |
Date: | Mon, 10 Dec 2012 14:46:46 +0000 |
To: | bug-Perl-Tidy [...] rt.cpan.org |
From: | Andrew de Quincey <adq [...] rosdev.org.uk> |
Hi, I have several hundred perl files that have been "optimised" by
removing all comments and newlines (though leaving variable names
intact)... They look something like this:
#!/usr/local/bin/perl
# generic file comment
...
the "..." is a single 6000+ character line of perl source.
Perl::Tidy just outputs exactly the same as the input. If I manually add a
few newlines in to break up the 6000+ chars, it suddenly starts formatting
it properly.
Is this an internal line length limit in Perl::Tidy?