Permalink
Switch branches/tags
stable gitpan_version/20140711 gitpan_version/20140328 gitpan_version/20130922 gitpan_version/20130806 gitpan_version/20130805 gitpan_version/20130717 gitpan_version/20121207 gitpan_version/20120714 gitpan_version/20120701 gitpan_version/20120619 gitpan_version/20101217 gitpan_version/20090616 gitpan_version/20071205 gitpan_version/20070801 gitpan_version/20070508 gitpan_version/20070504 gitpan_version/20070424 gitpan_version/20060719 gitpan_version/20060614 gitpan_version/20031021 gitpan_version/20030726 gitpan_version/20021130 cpan_version/20140711 cpan_version/20140328 cpan_version/20130922 cpan_version/20130806 cpan_version/20130805 cpan_version/20130717 cpan_version/20121207 cpan_version/20120714 cpan_version/20120701 cpan_version/20120619 cpan_version/20101217 cpan_version/20090616 cpan_version/20071205 cpan_version/20070801 cpan_version/20070508 cpan_version/20070504 cpan_version/20070424 cpan_version/20060719 cpan_version/20060614 cpan_version/20031021 cpan_version/20030726 cpan_version/20021130 cpan_path/SHANCOCK/Perl-Tidy-20140711.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20140328.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20130922.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20130806.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20130805.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20130717.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20121207.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20120714.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20120701.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20120619.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20101217.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20090616.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20071205.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20070801.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20070508.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20070504.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20070424.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20060719.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20060614.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20031021.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20030726.tar.gz cpan_path/SHANCOCK/Perl-Tidy-20021130.tar.gz SHANCOCK
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (38 sloc) 2.33 KB
Perltidy open BUGS and LIMITATIONS
You can help perltidy evolve into a better program. If you think you
have hit a bug or weird behavior, or have a suggested improvement,
please send a note to perltidy at users.sourceforge.net.
This file only lists open bugs. For bugs which have been fixed, see the
ChangeLog.
The --extrude and --mangle options can produce code with syntax errors
The --extrude tries to put as many newlines in the formatted code as
possible. The --mangle tries to remove as many newlines as possible.
These options are very useful for stress testing perltidy (and Perl) but
not so much for normal formatting. Occasionally they will produce code
which Perl considers to have a syntax error. These problems often
involve code where Perl is having to guess the tokenization based on
whitespace. The given/when and switch/case statements are also
particularly vulnerable to unusual line breaks and whitespace. This type
of error should not normally occur in practice, but if it does it should
be easy to fix the problem by rerunning perltidy with more normal
parameters or by manually changing whitespace or newlines.
The Pod:Html module has some bugs
For the most part Pod::Html works very well and is very convenient
because it part of the standard Perl distribution. But for example the
following line
=item B<< <Deck> = Session->new_cflt_deck; >>
which uses double brackets to contain single brackets does not render
correctly.
Perltidy does not handle UTF-8 encoded files
This has long been requested but unfortunately I don't have time, so
it won't happen unless someone wants to work on it.
Two iterations are sometimes needed
Usually the code produced by perltidy on the first pass does not change
if it is run again, but sometimes a second pass will produce some small
additional change. This mainly happens if a major style change is made,
particularly when perltidy is untangling complex ternary statements. Use
the iteration parameter -it=2 if it is important that the results be
unchanged on subsequent passes, but note that this doubles the run time.
Latest Bug and Wishlist at CPAN:
For the latest list of bugs and feature requests at CPAN see:
https://rt.cpan.org/Public/Dist/Display.html?Name=Perl-Tidy