# Perltidy Change Log
-## 2022 xx xx
+## 2022 06 13.01
+
+ - Fix undefined value message when perltidy -D is used.
- Added parameter --delete-repeated-commas (-drc) to delete repeated
commas. This is off by default. For example, given this line:
=head1 VERSION
-This man page documents perltidy version 20220613
+This man page documents perltidy version 20220613.01
=head1 BUG REPORTS
# then the Release version must be bumped, and it is probably past time for
# a release anyway.
- $VERSION = '20220613';
+ $VERSION = '20220613.01';
}
sub DESTROY {
=head1 VERSION
-This man page documents Perl::Tidy version 20220613
+This man page documents Perl::Tidy version 20220613.01
=head1 LICENSE
use strict;
use warnings;
use English qw( -no_match_vars );
-our $VERSION = '20220613';
+our $VERSION = '20220613.01';
use constant EMPTY_STRING => q{};
use constant SPACE => q{ };
package Perl::Tidy::DevNull;
use strict;
use warnings;
-our $VERSION = '20220613';
+our $VERSION = '20220613.01';
sub new { my $self = shift; return bless {}, $self }
sub print { return }
sub close { return }
use strict;
use warnings;
use English qw( -no_match_vars );
-our $VERSION = '20220613';
+our $VERSION = '20220613.01';
use constant EMPTY_STRING => q{};
package Perl::Tidy::FileWriter;
use strict;
use warnings;
-our $VERSION = '20220613';
+our $VERSION = '20220613.01';
use constant DEVEL_MODE => 0;
use constant EMPTY_STRING => q{};
use Carp;
use English qw( -no_match_vars );
-our $VERSION = '20220613';
+our $VERSION = '20220613.01';
# The Tokenizer will be loaded with the Formatter
##use Perl::Tidy::Tokenizer; # for is_keyword()
next if ( !DEBUG_WHITE );
my $str = substr( $last_token, 0, 15 );
- $str .= SPACE x( 16 - length($str) );
+ $str .= SPACE x ( 16 - length($str) );
if ( !defined($ws_1) ) { $ws_1 = "*" }
if ( !defined($ws_2) ) { $ws_2 = "*" }
if ( !defined($ws_3) ) { $ws_3 = "*" }
package Perl::Tidy::HtmlWriter;
use strict;
use warnings;
-our $VERSION = '20220613';
+our $VERSION = '20220613.01';
use English qw( -no_match_vars );
use File::Basename;
use strict;
use warnings;
use Carp;
-our $VERSION = '20220613';
+our $VERSION = '20220613.01';
use constant EMPTY_STRING => q{};
use strict;
use warnings;
use Carp;
-our $VERSION = '20220613';
+our $VERSION = '20220613.01';
sub AUTOLOAD {
package Perl::Tidy::IndentationItem;
use strict;
use warnings;
-our $VERSION = '20220613';
+our $VERSION = '20220613.01';
BEGIN {
package Perl::Tidy::LineBuffer;
use strict;
use warnings;
-our $VERSION = '20220613';
+our $VERSION = '20220613.01';
sub AUTOLOAD {
package Perl::Tidy::LineSink;
use strict;
use warnings;
-our $VERSION = '20220613';
+our $VERSION = '20220613.01';
sub AUTOLOAD {
use strict;
use warnings;
use English qw( -no_match_vars );
-our $VERSION = '20220613';
+our $VERSION = '20220613.01';
use constant DEVEL_MODE => 0;
package Perl::Tidy::Logger;
use strict;
use warnings;
-our $VERSION = '20220613';
+our $VERSION = '20220613.01';
use English qw( -no_match_vars );
use constant DEVEL_MODE => 0;
use warnings;
use English qw( -no_match_vars );
-our $VERSION = '20220613';
+our $VERSION = '20220613.01';
use constant DEVEL_MODE => 0;
use constant EMPTY_STRING => q{};
use warnings;
use Carp;
use English qw( -no_match_vars );
-our $VERSION = '20220613';
+our $VERSION = '20220613.01';
use Perl::Tidy::VerticalAligner::Alignment;
use Perl::Tidy::VerticalAligner::Line;
{ #<<< A non-indenting brace
-our $VERSION = '20220613';
+our $VERSION = '20220613.01';
BEGIN {
package Perl::Tidy::VerticalAligner::Line;
use strict;
use warnings;
-our $VERSION = '20220613';
+our $VERSION = '20220613.01';
BEGIN {
- compare results of the current version with previous version
- review tickets at [rt.cpan.org](https://rt.cpan.org/Public/Dist/Display.html?Name=Perl-Tidy)
- review the issues at [github](https://github.com/perltidy/perltidy/issues/)
+- test perltidy -D on a large test file
- compare formatting with the new version with previous version on all files in test area
- compare formatting with the new version on selected projects and perltidy itself
- profile with Devel::NYTProf with different parameters and compare with previous version: For example