]> git.donarmstrong.com Git - perltidy.git/commitdiff
bump version to 20240903.07 20240903.07
authorSteve Hancock <perltidy@users.sourceforge.net>
Sun, 1 Dec 2024 21:22:10 +0000 (13:22 -0800)
committerSteve Hancock <perltidy@users.sourceforge.net>
Sun, 1 Dec 2024 21:22:10 +0000 (13:22 -0800)
20 files changed:
CHANGES.md
bin/perltidy
docs/ChangeLog.html
docs/Tidy.html
docs/perltidy.html
lib/Perl/Tidy.pm
lib/Perl/Tidy.pod
lib/Perl/Tidy/Debugger.pm
lib/Perl/Tidy/Diagnostics.pm
lib/Perl/Tidy/FileWriter.pm
lib/Perl/Tidy/Formatter.pm
lib/Perl/Tidy/HtmlWriter.pm
lib/Perl/Tidy/IOScalar.pm
lib/Perl/Tidy/IOScalarArray.pm
lib/Perl/Tidy/IndentationItem.pm
lib/Perl/Tidy/Logger.pm
lib/Perl/Tidy/Tokenizer.pm
lib/Perl/Tidy/VerticalAligner.pm
lib/Perl/Tidy/VerticalAligner/Alignment.pm
lib/Perl/Tidy/VerticalAligner/Line.pm

index 0ba126cebe59d62997adeea28d1065860e0037dc..df714faab036943281e7c22bf535468edf8e39c8 100644 (file)
@@ -1,6 +1,6 @@
 # Perltidy Change Log
 
-## 2024 09 03.06
+## 2024 09 03.07
 
     - Added parameter --indent-leading-semicolon, -ils; see git #171. When
     this is negated, a line with a leading semicolon does not get the extra
index b69b1d07374de5a1debcbd1ae1497cf59d643ce3..cb6c1a69474a63ab72676f1bf895a38e420600e6 100755 (executable)
@@ -7254,7 +7254,7 @@ The perltidy binary uses the Perl::Tidy module and is installed when that module
 
 =head1 VERSION
 
-This man page documents perltidy version 20240903.06
+This man page documents perltidy version 20240903.07
 
 =head1 BUG REPORTS
 
index c07366bcac5d626b1cc300f4584a7ed2da18f62b..016b15c44a353304b6b7d01dd30d6bb3c068d42a 100644 (file)
@@ -1,8 +1,21 @@
 <h1>Perltidy Change Log</h1>
 
-<h2>2024 09 03.06</h2>
+<h2>2024 09 03.07</h2>
 
-<pre><code>- Added parameter --break-at-trailing-comma-types=s, or -btct=s, where
+<pre><code>- Added parameter --indent-leading-semicolon, -ils; see git #171. When
+this is negated, a line with a leading semicolon does not get the extra
+leading continuation indentation spaces (defined with -ci=n).
+
+- Space around here doc delimiters follow spacing controls better. For
+example, a space is now added before the closing paren here:
+
+   OLD: (without the here doc):
+   push( @script, &lt;&lt;'EOT');
+
+   NEW:
+   push( @script, &lt;&lt;'EOT' );
+
+- Added parameter --break-at-trailing-comma-types=s, or -btct=s, where
 s is a string which selects trailing commas.  For example, -btct='f(b'
 places a line break after all bare trailing commas in function calls.
 The manual has details.
index 0014beccc667212ebceb328a725eb6e4c53ed219..d8db4005740e0c72efd001bfc6fa2bcd8cce3f8b 100644 (file)
 
 <h1 id="VERSION">VERSION</h1>
 
-<p>This man page documents Perl::Tidy version 20240903.06</p>
+<p>This man page documents Perl::Tidy version 20240903.07</p>
 
 <h1 id="LICENSE">LICENSE</h1>
 
index 51fc1fe9446df90a43c33f3d7db0d733c2ad3ec8..1c82f90af99e17e9ecb4b51859d52612f20d68ff 100644 (file)
 
 <p>If the path contains spaces, it should be placed in quotes.</p>
 
-<p>This parameter will be ignored if output is being directed to standard output, or if it is being specified explicitly with the <b>-outfile=s</b> parameter.</p>
+<p>This parameter will be ignored if output is being directed to standard output, or if it is being specified explicitly with the <b>--outfile=s</b> parameter.</p>
 
 </dd>
 <dt id="b---backup-and-modify-in-place"><b>-b</b>, <b>--backup-and-modify-in-place</b></dt>
 
 <p>A <b>-b</b> flag will be ignored if input is from standard input or goes to standard output, or if the <b>-html</b> flag is set.</p>
 
-<p>In particular, if you want to use both the <b>-b</b> flag and the <b>--perl-best-practices</b> (<b>-pbp</b>) flag, then you must put a <b>-nostandard-output</b> (<b>-nst</b>) flag after the <b>-pbp</b> flag because it contains a <b>--standard-output</b> flag as one of its components, which means that output will go to the standard output stream.</p>
+<p>In particular, if you want to use both the <b>-b</b> flag and the <b>--perl-best-practices</b> (<b>-pbp</b>) flag, then you must put a <b>--nostandard-output</b> (<b>-nst</b>) flag after the <b>-pbp</b> flag because it contains a <b>--standard-output</b> flag as one of its components, which means that output will go to the standard output stream.</p>
 
 </dd>
 <dt id="bext-ext---backup-file-extension-ext"><b>-bext</b>=ext, <b>--backup-file-extension</b>=ext</dt>
 
 <p>If <b>--format=tidy</b> (the default) then perltidy will reformat the input file, and if <b>--format=html</b> then perltidy will produce html output.</p>
 
-<p>For convenience, the abbreviation <b>--tidy</b> is equivalent to <b>--format=tidy</b>, and <b>--html</b> is equivalent to <b>--format=html</b>.</p>
+<p>For convenience, the abbreviation <b>--tidy</b> is equivalent to <b>--format=tidy</b>, and <b>-html</b> is equivalent to <b>--format=html</b>.</p>
 
 </dd>
 <dt id="notidy"><b>--notidy</b></dt>
 <li><p>A limitation on <b>-lp</b>, but not <b>-xlp</b>, occurs in situations where perltidy does not have complete freedom to choose line breaks. Then it may temporarily revert to its default indentation method. This can occur for example if there are blank lines, block comments, multiline quotes, or side comments between the opening and closing parens, braces, or brackets. It will also occur if a multiline anonymous sub occurs within a container since that will impose specific line breaks (such as line breaks after statements).</p>
 
 </li>
-<li><p>For both the <b>-lp</b> and <b>-xlp</b> flags, any parameter which significantly restricts the ability of perltidy to choose newlines will conflict with these flags and will cause them to be deactivated. These include <b>--indent-only</b>, <b>--freeze-newlines</b>, <b>-noadd-newlines</b>, and <b>-nodelete-old-newlines</b>.</p>
+<li><p>For both the <b>-lp</b> and <b>-xlp</b> flags, any parameter which significantly restricts the ability of perltidy to choose newlines will conflict with these flags and will cause them to be deactivated. These include <b>--indent-only</b>, <b>--freeze-newlines</b>, <b>--noadd-newlines</b>, and <b>--nodelete-old-newlines</b>.</p>
 
 </li>
 <li><p>The <b>-lp</b> and <b>-xlp</b> options may not be used together with the <b>-t</b> tabs option. They may, however, be used with the <b>-et=n</b> tab method</p>
 
 <p>The default is not to do this, indicated by <b>-nicb</b>.</p>
 
+</dd>
+<dt id="ils---indent-leading-semicolon"><b>-ils</b>, <b>--indent-leading-semicolon</b></dt>
+<dd>
+
+<p>A line which begins with a leading semicolon will, by default, have the extra number of indentation spaces defined by <b>--continuation-indentation=n</b>. This extra indentation can be removed by setting <b>-nils</b>.</p>
+
+<pre><code>    # default
+    $z = sqrt( $x**2 + $y**2 )
+
+      ;    # &lt;-- indented by ci spaces
+
+    # -nils
+    $z = sqrt( $x**2 + $y**2 )
+
+    ;    # &lt;-- not indented by ci spaces</code></pre>
+
+<p>Note that leading semicolons do not normally occur unless requested with <b>--break-at-old-semicolon-breakpoints</b> or forced, for example by a blank line as in this example.</p>
+
 </dd>
 <dt id="nib---non-indenting-braces"><b>-nib</b>, <b>--non-indenting-braces</b></dt>
 <dd>
 <dt id="xbt---extended-block-tightness"><b>-xbt</b>, <b>--extended-block-tightness</b></dt>
 <dd>
 
-<p>The previous section described two controls for spacing within curly braces, namely <b>-block-brace-tightness=n</b> for code block braces and <b>-brace-tightness=n</b> for all other braces.</p>
+<p>The previous section described two controls for spacing within curly braces, namely <b>--block-brace-tightness=n</b> for code block braces and <b>--brace-tightness=n</b> for all other braces.</p>
 
 <p>There is a little fuzziness in this division of brace types though because the curly braces considered by perltidy to contain code blocks for formatting purposes, such as highlighting code structure, exclude some of the small code blocks used by Perl mainly for isolating terms. These include curly braces following a keyword where an indirect object might occur, or curly braces following a type symbol. For example, perltidy does not mark the following braces as code block braces:</p>
 
 <dt id="fnl---freeze-newlines"><b>-fnl</b>, <b>--freeze-newlines</b></dt>
 <dd>
 
-<p>If you do not want any changes to the line breaks within lines of code in your script, set <b>-fnl</b>, and they will remain fixed, and the rest of the commands in this section and sections <a href="#Controlling-List-Formatting">&quot;Controlling List Formatting&quot;</a>, <a href="#Retaining-or-Ignoring-Existing-Line-Breaks">&quot;Retaining or Ignoring Existing Line Breaks&quot;</a>. You may want to use <b>-nooutdent-long-lines</b> with this.</p>
+<p>If you do not want any changes to the line breaks within lines of code in your script, set <b>-fnl</b>, and they will remain fixed, and the rest of the commands in this section and sections <a href="#Controlling-List-Formatting">&quot;Controlling List Formatting&quot;</a>, <a href="#Retaining-or-Ignoring-Existing-Line-Breaks">&quot;Retaining or Ignoring Existing Line Breaks&quot;</a>. You may want to use <b>--nooutdent-long-lines</b> with this.</p>
 
 <p>Note: If you also want to keep your blank lines exactly as they are, you can use the <b>--freeze-blank-lines</b> flag which is described in the section <a href="#Blank-Line-Control">&quot;Blank Line Control&quot;</a>.</p>
 
 
   # -nce (default)
   if ($task) {
-        yyy();
+      yyy();
   }
   else {
-        zzz();
+      zzz();
   }</code></pre>
 
 <p>In this example the keyword <b>else</b> is placed on the same line which begins with the preceding closing block brace and is followed by its own opening block brace on the same line. Other keywords and function names which are formatted with this &quot;cuddled&quot; style are <b>elsif</b>, <b>continue</b>, <b>catch</b>, <b>finally</b>.</p>
 
 <p>The built-in default cuddled block types are <b>else, elsif, continue, catch, finally</b>.</p>
 
-<p>Additional block types to which the <b>-cuddled-blocks</b> style applies can be defined by this parameter. This parameter is a character string, giving a list of block types separated by commas or spaces. For example, to cuddle code blocks of type sort, map and grep, in addition to the default types, the string could be set to</p>
+<p>Additional block types to which the <b>--cuddled-blocks</b> style applies can be defined by this parameter. This parameter is a character string, giving a list of block types separated by commas or spaces. For example, to cuddle code blocks of type sort, map and grep, in addition to the default types, the string could be set to</p>
 
 <pre><code>  -cbl=&quot;sort map grep&quot;</code></pre>
 
 <dt id="cblx---cuddled-block-list-exclusive"><b>-cblx</b>, <b>--cuddled-block-list-exclusive</b></dt>
 <dd>
 
-<p>When cuddled else formatting is selected with <b>-cuddled-else</b>, setting this flag causes perltidy to ignore its built-in defaults and rely exclusively on the block types specified on the <b>--cuddled-block-list</b> flag described in the previous section. For example, to avoid using cuddled <b>catch</b> and <b>finally</b>, which are among the defaults, the following set of parameters could be used:</p>
+<p>When cuddled else formatting is selected with <b>--cuddled-else</b>, setting this flag causes perltidy to ignore its built-in defaults and rely exclusively on the block types specified on the <b>--cuddled-block-list</b> flag described in the previous section. For example, to avoid using cuddled <b>catch</b> and <b>finally</b>, which are among the defaults, the following set of parameters could be used:</p>
 
 <pre><code>  perltidy -ce -cbl=&#39;else elsif continue&#39; -cblx</code></pre>
 
      ...
   }</code></pre>
 
-<p>When <b>-bl</b> is set, the blocks to which this applies can be controlled with the parameters <b>--brace-left-list</b> and <b>-brace-left-exclusion-list</b> described in the next sections.</p>
+<p>When <b>-bl</b> is set, the blocks to which this applies can be controlled with the parameters <b>--brace-left-list</b> and <b>--brace-left-exclusion-list</b> described in the next sections.</p>
 
 </dd>
 <dt id="bll-s---brace-left-list-s"><b>-bll=s</b>, <b>--brace-left-list=s</b></dt>
 
 <p>To simplify input even further for the case in which both opening and closing non-block containers are stacked, the flag <b>-sac</b> or <b>--stack-all-containers</b> is an abbreviation for <b>--stack-opening-tokens --stack-closing-tokens</b>.</p>
 
-<p>Please note that if both opening and closing tokens are to be stacked, then the newer flag <b>-weld-nested-containers</b> may be preferable because it insures that stacking is always done symmetrically. It also removes an extra level of unnecessary indentation within welded containers. It is able to do this because it works on formatting globally rather than locally, as the <b>--stack-opening-tokens</b> and <b>--stack-closing-tokens</b> flags do.</p>
+<p>Please note that if both opening and closing tokens are to be stacked, then the newer flag <b>--weld-nested-containers</b> may be preferable because it insures that stacking is always done symmetrically. It also removes an extra level of unnecessary indentation within welded containers. It is able to do this because it works on formatting globally rather than locally, as the <b>--stack-opening-tokens</b> and <b>--stack-closing-tokens</b> flags do.</p>
 
 </dd>
 </dl>
     = **= += *= &amp;= &lt;&lt;= &amp;&amp;= -= /= |= &gt;&gt;= ||= //= .= %= ^= x=
     . : ? &amp;&amp; || and or err xor</code></pre>
 
-<p>and the <b>-bbao</b> flag sets the default to break before all of these operators. These can be used to define an initial break preference which can be fine-tuned with the <b>--want-break-after</b> and <b>--want-break-before</b> flags. For example, to break before all operators except an <b>=</b> one could use <code>--bbao -wba=&#39;=&#39;</code> rather than listing every single perl operator except <b>=</b> on a <b>-wbb</b> flag.</p>
+<p>and the <b>-bbao</b> flag sets the default to break before all of these operators. These can be used to define an initial break preference which can be fine-tuned with the <b>--want-break-after</b> and <b>--want-break-before</b> flags. For example, to break before all operators except an <b>=</b> one could use <code>-bbao -wba=&#39;=&#39;</code> rather than listing every single perl operator except <b>=</b> on a <b>-wbb</b> flag.</p>
 
 <dl>
 
         &#39;g&#39;, Canvas =&gt; $overview_canvas
     );</code></pre>
 
-<p>formatting with <code>-wtc=f(b) -atc</code> will not add a trailing comma because the list will be flattend and the comma will not remain bare. But we can add a trailing comma, and keep the container open, with</p>
+<p>formatting with <code>-wtc=f(b) -atc</code> will not add a trailing comma because the list will be flattened and the comma will not remain bare. But we can add a trailing comma, and keep the container open, with</p>
 
 <pre><code>    # perltidy -wtc=&#39;f(b&#39; -atc -btct=&#39;f(b&#39;
     plot(
       &#39;track.id&#39; =&gt; { -ident =&gt; &#39;none_search.id&#39; },
   } )-&gt;as_query;</code></pre>
 
-<p>You may want to include the <b>-weld-nested-containers</b> flag in this case to keep nested braces and parens together, as in the last line.</p>
+<p>You may want to include the <b>--weld-nested-containers</b> flag in this case to keep nested braces and parens together, as in the last line.</p>
 
 </dd>
 <dt id="bos---break-at-old-semicolon-breakpoints"><b>-bos</b>, <b>--break-at-old-semicolon-breakpoints</b></dt>
 
 <pre><code>  $z = sqrt( $x**2 + $y**2 );</code></pre>
 
-<p>The result using <b>perltidy -bos</b> keeps the isolated semicolon:</p>
+<p>Using the &lt;-bos&gt; flag keeps the isolated semicolon:</p>
 
-<pre><code>  $z = sqrt( $x**2 + $y**2 )
+<pre><code>  # perltidy -bos
+  $z = sqrt( $x**2 + $y**2 )
     ;</code></pre>
 
+<p>The extra continuation indentation spaces on the semicolon can be removed by also setting <b>--noindent-leading-semicolon</b>.</p>
+
+<pre><code>  # perltidy -bos -nils
+  $z = sqrt( $x**2 + $y**2 )
+  ;</code></pre>
+
 <p>The default is not to do this, <b>-nbos</b>.</p>
 
 </dd>
 <dt id="Forming-new-one-line-blocks"><b>Forming new one-line blocks</b></dt>
 <dd>
 
-<p>Sometimes it might be desirable to convert a script to have one-line blocks whenever possible. Although there is currently no flag for this, a simple workaround is to execute perltidy twice, once with the flag <b>-noadd-newlines</b> and then once again with normal parameters, like this:</p>
+<p>Sometimes it might be desirable to convert a script to have one-line blocks whenever possible. Although there is currently no flag for this, a simple workaround is to execute perltidy twice, once with the flag <b>--noadd-newlines</b> and then once again with normal parameters, like this:</p>
 
 <pre><code>     cat infile | perltidy -nanl | perltidy &gt;outfile</code></pre>
 
 
 <p>There is no automatic way to break existing long one-line blocks into multiple lines, but this can be accomplished by processing a script, or section of a script, with a short value of the parameter <b>maximum-line-length=n</b>. Then, when the script is reformatted again with the normal parameters, the blocks which were broken will remain broken (with the exceptions noted above).</p>
 
-<p>Another trick for doing this for certain block types is to format one time with the <b>-cuddled-else</b> flag and <b>--cuddled-break-option=2</b>. Then format again with the normal parameters. This will break any one-line blocks which are involved in a cuddled-else style.</p>
+<p>Another trick for doing this for certain block types is to format one time with the <b>--cuddled-else</b> flag and <b>--cuddled-break-option=2</b>. Then format again with the normal parameters. This will break any one-line blocks which are involved in a cuddled-else style.</p>
 
 </dd>
 </dl>
 
 <p>The following flags are available for debugging. Note that all commands named <b>--dump-...</b> will simply write some requested information to standard output and then immediately exit.</p>
 
-<p><b>--dump-cuddled-block-list</b> or <b>-dcbl</b> will dump to standard output the internal hash of cuddled block types created by a <b>-cuddled-block-list</b> input string.</p>
+<p><b>--dump-cuddled-block-list</b> or <b>-dcbl</b> will dump to standard output the internal hash of cuddled block types created by a <b>--cuddled-block-list</b> input string.</p>
 
 <p><b>--dump-defaults</b> or <b>-ddf</b> will write the default option set to standard output and quit</p>
 
 
      $self-&gt;gnab_gib(42);</code></pre>
 
-<p>In this case, the sub is expecting a total of three args (<code>$self</code>, <code>$v1</code>, and <code>$v2</code>) but only receives two (<code>$self</code> and <code>42</code>), so an undercount is reported. This is not necessarily an error because the sub may allow for this possibility, but it is worth checking. The simple static processing done by perltidy cannot determine which sub args are optional.</p>
+<p>In this case, the sub is expecting a total of three args (<code>$self</code>, <code>$v1</code>, and <code>$v2</code>) but only receives two (<code>$self</code> and <code>42</code>), so an undercount is reported. This is not necessarily an error because the sub may allow for this possibility, but it is worth checking.</p>
+
+<p>Although it is not possible to automatically determine which sub args are optional, if optional sub args are enclosed in an extra set of parentheses, perltidy will take this a signal that they are optional and not issue a warning. So if the above example is written as</p>
+
+<pre><code>    sub gnab_gib {
+        my $self = shift;
+        my ( $v1, ($v2) ) = @_;  # &lt;-- extra parens on $v2 indicate optional
+        ...;
+    }</code></pre>
+
+<p>then perltidy will consider that the second arg is optional and not issue a warning for:</p>
+
+<pre><code>    $self-&gt;gnab_gib(42);</code></pre>
+
+<p>For multiple default call args, place one set of parens around them all. Some examples:</p>
+
+<pre><code>    my ( $v1, ( $v2, $v3 ) ) = @_;    # &lt;-- $v2 and $v3 are optional
+    my ( ($v1) ) = @_;                # &lt;-- $v1 is optional</code></pre>
 
 </dd>
 <dt id="i:-indeterminate:-a-specific-number-of-expected-args-for-a-sub-could-not-be-determined-but-it-is-called-with-a-specific-number.-This-issue-is-reported-for-the---dump--option-but-not-the---warn--option"><b>i:</b> <b>indeterminate:</b> a specific number of expected args for a sub could not be determined, but it is called with a specific number. This issue is reported for the <b>--dump-</b> option but not the <b>--warn-</b> option.</dt>
 
 <p>The default value is <b>n=4</b>. This has been found to allow most programs to pass without warnings, but it should be reduced if possible for better error checking. The minimum possible value of <b>n</b> needed to avoid triggering an error for a program can be determined by running with <b>-wma -wmauc=0</b>. If there are undercount errors, a note at the bottom of the error output indicates the value of <b>n</b> required to avoid reporting them.</p>
 
+<p>As noted above for the parameter <b>--dump-mismatched-args</b>, if optional call args are enclosed in separate parentheses, then perltidy will recognize them as optional args and avoid needless warnings. If this method is used, then <b>-wmauc=0</b> should be used for maximal checking.</p>
+
 </li>
 <li><p><b>--warn-mismatched-arg-overcount-cutoff=n</b>, or <b>-wmaoc=n</b>, can be used to avoid <b>overcount</b> warnings when the expected number of args is less than <b>n</b>. The default value is <b>n=1</b>. This avoids warning messages for subroutines which are dummy placeholders for possible expansion.</p>
 
 
 <h1 id="VERSION">VERSION</h1>
 
-<p>This man page documents perltidy version 20240903.06</p>
+<p>This man page documents perltidy version 20240903.07</p>
 
 <h1 id="BUG-REPORTS">BUG REPORTS</h1>
 
index 98492b9613844234aa400d83265ab5acb65db3af..2896d37d5e51d7f1f5f137ecca35dcdf20dbdb73 100644 (file)
@@ -136,7 +136,7 @@ BEGIN {
     # then the Release version must be bumped, and it is probably past time for
     # a release anyway.
 
-    $VERSION = '20240903.06';
+    $VERSION = '20240903.07';
 } ## end BEGIN
 
 sub DESTROY {
index 4224d030dda1892bca4d6f1b9232d03504bb114d..055ed47d4ea4eeca0d78efabbb3ef0031f39014c 100644 (file)
@@ -469,7 +469,7 @@ The module 'Perl::Tidy' comes with a binary 'perltidy' which is installed when t
 
 =head1 VERSION
 
-This man page documents Perl::Tidy version 20240903.06
+This man page documents Perl::Tidy version 20240903.07
 
 =head1 LICENSE
 
index 1596b6fb151824017b91be35ea5c1330e5452bd7..1d91bb7fff330b08b0c65147a6621f5db5b16de3 100644 (file)
@@ -8,7 +8,7 @@ package Perl::Tidy::Debugger;
 use strict;
 use warnings;
 use English qw( -no_match_vars );
-our $VERSION = '20240903.06';
+our $VERSION = '20240903.07';
 
 use constant EMPTY_STRING => q{};
 use constant SPACE        => q{ };
index fd3da009e28405e0cabd7834bb1dc8d66007d009..ed053c9dbd31f4ea8d95c202b331c6c26d693834 100644 (file)
@@ -18,7 +18,7 @@ package Perl::Tidy::Diagnostics;
 use strict;
 use warnings;
 use English qw( -no_match_vars );
-our $VERSION = '20240903.06';
+our $VERSION = '20240903.07';
 
 use constant EMPTY_STRING => q{};
 
index b5a017bc3d2093737152b4c198478fbe8fb48593..df5cb6010e3745281d13e388db1485e84aa4d966 100644 (file)
@@ -16,7 +16,7 @@
 package Perl::Tidy::FileWriter;
 use strict;
 use warnings;
-our $VERSION = '20240903.06';
+our $VERSION = '20240903.07';
 use Carp;
 
 use constant DEVEL_MODE   => 0;
index 42af4e3ebbe21b5df3a31859423a1bee158cbac0..daaab6097111ff0a2f4baf50dd14e81ef0e316fd 100644 (file)
@@ -76,7 +76,7 @@ use constant BACKSLASH    => q{\\};
 use Carp;
 use English    qw( -no_match_vars );
 use List::Util qw( min max first );    # min, max first are in Perl 5.8
-our $VERSION = '20240903.06';
+our $VERSION = '20240903.07';
 
 # The Tokenizer will be loaded with the Formatter
 ##use Perl::Tidy::Tokenizer;    # for is_keyword()
index 7269720e114b4a6296ea8223ddcaf2ef867e9bea..33dfcaf3c29e01d6b64eea79d59024c55ce675c5 100644 (file)
@@ -7,7 +7,7 @@
 package Perl::Tidy::HtmlWriter;
 use strict;
 use warnings;
-our $VERSION = '20240903.06';
+our $VERSION = '20240903.07';
 
 use Carp;
 use English qw( -no_match_vars );
index 46174da06522d8ee563aca8446fd409357972a8d..2bbf0a993612fc5b1b1bc1bfe2b84d31c6834a6f 100644 (file)
@@ -10,7 +10,7 @@ package Perl::Tidy::IOScalar;
 use strict;
 use warnings;
 use Carp;
-our $VERSION = '20240903.06';
+our $VERSION = '20240903.07';
 
 use constant DEVEL_MODE   => 0;
 use constant EMPTY_STRING => q{};
index 2f4912d0268631c5f9e3c96ca3a561af3d76587b..d04fc56763815a8ce6aece70e414f14f33989c2a 100644 (file)
@@ -14,7 +14,7 @@ package Perl::Tidy::IOScalarArray;
 use strict;
 use warnings;
 use Carp;
-our $VERSION = '20240903.06';
+our $VERSION = '20240903.07';
 
 use constant DEVEL_MODE => 0;
 
index 1816d4255578f739250bdc11d33100c3baaa1cc7..d10af4502728bf56cd4d1b6d7d88833dda23564b 100644 (file)
@@ -9,7 +9,7 @@ package Perl::Tidy::IndentationItem;
 use strict;
 use warnings;
 
-our $VERSION = '20240903.06';
+our $VERSION = '20240903.07';
 
 BEGIN {
 
index adc3bae875d7639ecad755a339382b29d8d2e7a4..aacd4745882a229964664e275084d09ae9677fa5 100644 (file)
@@ -8,7 +8,7 @@
 package Perl::Tidy::Logger;
 use strict;
 use warnings;
-our $VERSION = '20240903.06';
+our $VERSION = '20240903.07';
 use Carp;
 use English qw( -no_match_vars );
 
index 50f81d7c2c0d078183b8544516a58c367299b1be..72b66c0f31ca12aaf0b10a313e9406d8f99b5ef8 100644 (file)
@@ -33,7 +33,7 @@ use strict;
 use warnings;
 use English qw( -no_match_vars );
 
-our $VERSION = '20240903.06';
+our $VERSION = '20240903.07';
 
 use Carp;
 
index b102727c1346d17411eac69a307335a874af63ae..3ad8059d8381b4a7424efb325b133dc3e3e615cb 100644 (file)
@@ -5,7 +5,7 @@ use Carp;
 
 { #<<< A non-indenting brace to contain all lexical variables
 
-our $VERSION = '20240903.06';
+our $VERSION = '20240903.07';
 use English qw( -no_match_vars );
 use Scalar::Util 'refaddr';    # perl 5.8.1 and later
 use Perl::Tidy::VerticalAligner::Alignment;
index 034248822ec7fbb1a4486ced01a5f330f57154d5..e7cf0556f70a756a6867ca23a3f2f1f23bc55142 100644 (file)
@@ -9,7 +9,7 @@ package Perl::Tidy::VerticalAligner::Alignment;
 use strict;
 use warnings;
 
-our $VERSION = '20240903.06';
+our $VERSION = '20240903.07';
 
 sub new {
     my ( $class, $rarg ) = @_;
index afaf8a2db554bb61ab05fc49c95df299c75dd34b..b1d17ef240794bc62fe459b4e0e9c1ec7728c7b9 100644 (file)
@@ -10,7 +10,7 @@ package Perl::Tidy::VerticalAligner::Line;
 use strict;
 use warnings;
 
-our $VERSION = '20240903.06';
+our $VERSION = '20240903.07';
 use English qw( -no_match_vars );
 
 sub AUTOLOAD {