# Perltidy Change Log
-## 2024 05 11.05
+## 2024 05 11.06
+
+ - Add options --add-lone-trailing-commas, -altc and
+ --delete-lone-trailing-commas, -dltc, to add control over adding
+ and deleting the only comma in a list. See discussion in git #143
+ and the updated manual.
- Add options --dump-mismatched-returns (or -dmr) and
--warn-mismatched-returns (or -wmr). These options report function
=head1 VERSION
-This man page documents perltidy version 20240511.05
+This man page documents perltidy version 20240511.06
=head1 BUG REPORTS
# then the Release version must be bumped, and it is probably past time for
# a release anyway.
- $VERSION = '20240511.05';
+ $VERSION = '20240511.06';
} ## end BEGIN
sub DESTROY {
=head1 VERSION
-This man page documents Perl::Tidy version 20240511.05
+This man page documents Perl::Tidy version 20240511.06
=head1 LICENSE
use strict;
use warnings;
use English qw( -no_match_vars );
-our $VERSION = '20240511.05';
+our $VERSION = '20240511.06';
use constant EMPTY_STRING => q{};
use constant SPACE => q{ };
use strict;
use warnings;
use English qw( -no_match_vars );
-our $VERSION = '20240511.05';
+our $VERSION = '20240511.06';
use constant EMPTY_STRING => q{};
package Perl::Tidy::FileWriter;
use strict;
use warnings;
-our $VERSION = '20240511.05';
+our $VERSION = '20240511.06';
use constant DEVEL_MODE => 0;
use constant EMPTY_STRING => 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 = '20240511.05';
+our $VERSION = '20240511.06';
# 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 = '20240511.05';
+our $VERSION = '20240511.06';
use Carp;
use English qw( -no_match_vars );
use strict;
use warnings;
use Carp;
-our $VERSION = '20240511.05';
+our $VERSION = '20240511.06';
use constant DEVEL_MODE => 0;
use constant EMPTY_STRING => q{};
use strict;
use warnings;
use Carp;
-our $VERSION = '20240511.05';
+our $VERSION = '20240511.06';
use constant DEVEL_MODE => 0;
use strict;
use warnings;
-our $VERSION = '20240511.05';
+our $VERSION = '20240511.06';
BEGIN {
package Perl::Tidy::Logger;
use strict;
use warnings;
-our $VERSION = '20240511.05';
+our $VERSION = '20240511.06';
use Carp;
use English qw( -no_match_vars );
use warnings;
use English qw( -no_match_vars );
-our $VERSION = '20240511.05';
+our $VERSION = '20240511.06';
use Carp;
{ #<<< A non-indenting brace to contain all lexical variables
-our $VERSION = '20240511.05';
+our $VERSION = '20240511.06';
use English qw( -no_match_vars );
use Scalar::Util 'refaddr';
use Perl::Tidy::VerticalAligner::Alignment;
use strict;
use warnings;
-our $VERSION = '20240511.05';
+our $VERSION = '20240511.06';
sub new {
my ( $class, $rarg ) = @_;
use strict;
use warnings;
-our $VERSION = '20240511.05';
+our $VERSION = '20240511.06';
use English qw( -no_match_vars );
sub AUTOLOAD {