]> git.donarmstrong.com Git - perltidy.git/blobdiff - BUGS
* Fix FTBFS on perl 5.10
[perltidy.git] / BUGS
diff --git a/BUGS b/BUGS
index 79b8b44110c69444fab8fab2fa36ec6344a42a22..12a470dc88c1fd42afb7b5c12afcc48b18d9cff5 100644 (file)
--- a/BUGS
+++ b/BUGS
@@ -1,18 +1,17 @@
 Perltidy open BUGS
-     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.
+    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.  
+    This file only lists open bugs. For bugs which have been fixed, see the
+    ChangeLog.
 
-  A here-doc invoked through an 'e' modifier on a pattern replacement text is not recognized
-    For example, the output of perltidy for this script has a syntax error:
-
-            my $text="Hello World!\n";
-            $text =~ s@Hello@<<'END'@e;
-            Goodbye 
-            Cruel
-            END
-            print "$text\n";
+  The --extrude option can produce code with syntax errors
+    The --extrude tries to put as many newlines in the formatted code as
+    possible. This option is very useful for testing perltidy but not for
+    actual formatting. Occasionally it will produce code which Perl
+    considers to have a syntax error. These problems usually involve code
+    where Perl is having to guess the tokenization based on whitespace.
+    Since the --extrude option is typically only used for testing perltidy,
+    this type of error should not normally occur in practice.