# Perltidy Change Log
-## 2021 10 29.03
+## 2021 10 29.04
- A new flag -gal=s, --grep-alias-list=s, has been added as suggested in
git #77. This allows code blocks passed to list operator functions to
perltidy -gal='My_grep My_map'
-By default, the following list operators in List::Util are automatically included, and any operators listed in B<--grep-alias-list> are added to this list:
+By default, the following list operators in List::Util are automatically included:
all any first none notall reduce reductions
+Any operators specified with B<--grep-alias-list> are added to this list.
The next parameter can be used to remove words from this default list.
=item B<-gaxl=s>, B<--grep-alias-exclusion-list=s>
=head1 VERSION
-This man page documents perltidy version 20211029.03
+This man page documents perltidy version 20211029.04
=head1 BUG REPORTS
<h1>Perltidy Change Log</h1>
-<h2>2021 10 29.03</h2>
+<h2>2021 10 29.04</h2>
<pre><code>- A new flag -gal=s, --grep-alias-list=s, has been added as suggested in
git #77. This allows code blocks passed to list operator functions to
be formatted in the same way as a code block passed to grep, map, or sort.
By default, the following list operators in List::Util are included:
- all any first none notall pairfirst pairgrep pairmap reduce reductions
+ all any first none notall reduce reductions
They can be changed with the flag -gaxl=s, -grep-alias-exclusion-list=s
<h1 id="VERSION">VERSION</h1>
-<p>This man page documents Perl::Tidy version 20211029.03</p>
+<p>This man page documents Perl::Tidy version 20211029.04</p>
<h1 id="LICENSE">LICENSE</h1>
<pre><code> perltidy -gal='My_grep My_map'</code></pre>
-<p>By default, the following list operators in List::Util are automatically included, and any operators listed in <b>--grep-alias-list</b> are added to this list:</p>
+<p>By default, the following list operators in List::Util are automatically included:</p>
-<pre><code> all any first none notall pairfirst pairgrep pairmap reduce reductions</code></pre>
+<pre><code> all any first none notall reduce reductions</code></pre>
-<p>The next parameter can be used to remove words from this default list.</p>
+<p>Any operators specified with <b>--grep-alias-list</b> are added to this list. The next parameter can be used to remove words from this default list.</p>
</dd>
<dt id="gaxl-s---grep-alias-exclusion-list-s"><b>-gaxl=s</b>, <b>--grep-alias-exclusion-list=s</b></dt>
<h1 id="VERSION">VERSION</h1>
-<p>This man page documents perltidy version 20211029.03</p>
+<p>This man page documents perltidy version 20211029.04</p>
<h1 id="BUG-REPORTS">BUG REPORTS</h1>
# Release version must be bumped, and it is probably past time for a
# release anyway.
- $VERSION = '20211029.03';
+ $VERSION = '20211029.04';
}
sub DESTROY {
=head1 VERSION
-This man page documents Perl::Tidy version 20211029.03
+This man page documents Perl::Tidy version 20211029.04
=head1 LICENSE
package Perl::Tidy::Debugger;
use strict;
use warnings;
-our $VERSION = '20211029.03';
+our $VERSION = '20211029.04';
sub new {
package Perl::Tidy::DevNull;
use strict;
use warnings;
-our $VERSION = '20211029.03';
+our $VERSION = '20211029.04';
sub new { my $self = shift; return bless {}, $self }
sub print { return }
sub close { return }
package Perl::Tidy::Diagnostics;
use strict;
use warnings;
-our $VERSION = '20211029.03';
+our $VERSION = '20211029.04';
sub AUTOLOAD {
package Perl::Tidy::FileWriter;
use strict;
use warnings;
-our $VERSION = '20211029.03';
+our $VERSION = '20211029.04';
use constant DEVEL_MODE => 0;
{ #<<< A non-indenting brace to contain all lexical variables
use Carp;
-our $VERSION = '20211029.03';
+our $VERSION = '20211029.04';
# The Tokenizer will be loaded with the Formatter
##use Perl::Tidy::Tokenizer; # for is_keyword()
package Perl::Tidy::HtmlWriter;
use strict;
use warnings;
-our $VERSION = '20211029.03';
+our $VERSION = '20211029.04';
use File::Basename;
use strict;
use warnings;
use Carp;
-our $VERSION = '20211029.03';
+our $VERSION = '20211029.04';
sub AUTOLOAD {
use strict;
use warnings;
use Carp;
-our $VERSION = '20211029.03';
+our $VERSION = '20211029.04';
sub AUTOLOAD {
package Perl::Tidy::IndentationItem;
use strict;
use warnings;
-our $VERSION = '20211029.03';
+our $VERSION = '20211029.04';
BEGIN {
package Perl::Tidy::LineBuffer;
use strict;
use warnings;
-our $VERSION = '20211029.03';
+our $VERSION = '20211029.04';
sub AUTOLOAD {
package Perl::Tidy::LineSink;
use strict;
use warnings;
-our $VERSION = '20211029.03';
+our $VERSION = '20211029.04';
sub AUTOLOAD {
package Perl::Tidy::LineSource;
use strict;
use warnings;
-our $VERSION = '20211029.03';
+our $VERSION = '20211029.04';
sub AUTOLOAD {
package Perl::Tidy::Logger;
use strict;
use warnings;
-our $VERSION = '20211029.03';
+our $VERSION = '20211029.04';
sub AUTOLOAD {
package Perl::Tidy::Tokenizer;
use strict;
use warnings;
-our $VERSION = '20211029.03';
+our $VERSION = '20211029.04';
# this can be turned on for extra checking during development
use constant DEVEL_MODE => 0;
use strict;
use warnings;
use Carp;
-our $VERSION = '20211029.03';
+our $VERSION = '20211029.04';
use Perl::Tidy::VerticalAligner::Alignment;
use Perl::Tidy::VerticalAligner::Line;
{ #<<< A non-indenting brace
-our $VERSION = '20211029.03';
+our $VERSION = '20211029.04';
BEGIN {
package Perl::Tidy::VerticalAligner::Line;
use strict;
use warnings;
-our $VERSION = '20211029.03';
+our $VERSION = '20211029.04';
BEGIN {