# Perltidy Change Log
-## 2023 09 12.07
+## 2023 09 12.08
- Added --dump-unusual-variables (-duv) option to dump a list of
variables with certain properties of interest. For example
=head1 VERSION
-This man page documents perltidy version 20230912.07
+This man page documents perltidy version 20230912.08
=head1 BUG REPORTS
# then the Release version must be bumped, and it is probably past time for
# a release anyway.
- $VERSION = '20230912.07';
+ $VERSION = '20230912.08';
} ## end BEGIN
sub DESTROY {
=head1 VERSION
-This man page documents Perl::Tidy version 20230912.07
+This man page documents Perl::Tidy version 20230912.08
=head1 LICENSE
use strict;
use warnings;
use English qw( -no_match_vars );
-our $VERSION = '20230912.07';
+our $VERSION = '20230912.08';
use constant EMPTY_STRING => q{};
use constant SPACE => q{ };
use strict;
use warnings;
use English qw( -no_match_vars );
-our $VERSION = '20230912.07';
+our $VERSION = '20230912.08';
use constant EMPTY_STRING => q{};
package Perl::Tidy::FileWriter;
use strict;
use warnings;
-our $VERSION = '20230912.07';
+our $VERSION = '20230912.08';
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 = '20230912.07';
+our $VERSION = '20230912.08';
# The Tokenizer will be loaded with the Formatter
##use Perl::Tidy::Tokenizer; # for is_keyword()
)
{
# skip blanks
- if ( defined($2) ) { next }
-
- if ( defined($3) ) {
+ if ( defined($2) ) { next }
+ elsif ( defined($3) ) {
if ( $3 eq '!' ) { $want_parens = 0; }
elsif ( $3 eq '+' ) { $want_parens = 1; }
elsif ( $3 eq '*' ) { $call_paren_style{$3} = $want_parens }
my $token_Kn = $rLL->[$Kn]->[_TOKEN_];
if ( $token_Kn eq '=>' ) { next }
+ elsif ( $token_Kn eq '->' ) { next }
elsif ( $token_Kn eq '(' ) { next if ($want_paren) }
else { next if ( !$want_paren ) }
package Perl::Tidy::HtmlWriter;
use strict;
use warnings;
-our $VERSION = '20230912.07';
+our $VERSION = '20230912.08';
use Carp;
use English qw( -no_match_vars );
use strict;
use warnings;
use Carp;
-our $VERSION = '20230912.07';
+our $VERSION = '20230912.08';
use constant DEVEL_MODE => 0;
use constant EMPTY_STRING => q{};
use strict;
use warnings;
use Carp;
-our $VERSION = '20230912.07';
+our $VERSION = '20230912.08';
use constant DEVEL_MODE => 0;
use strict;
use warnings;
-our $VERSION = '20230912.07';
+our $VERSION = '20230912.08';
BEGIN {
package Perl::Tidy::Logger;
use strict;
use warnings;
-our $VERSION = '20230912.07';
+our $VERSION = '20230912.08';
use Carp;
use English qw( -no_match_vars );
use warnings;
use English qw( -no_match_vars );
-our $VERSION = '20230912.07';
+our $VERSION = '20230912.08';
use Carp;
{ #<<< A non-indenting brace to contain all lexical variables
-our $VERSION = '20230912.07';
+our $VERSION = '20230912.08';
use English qw( -no_match_vars );
use Perl::Tidy::VerticalAligner::Alignment;
use Perl::Tidy::VerticalAligner::Line;
use strict;
use warnings;
-our $VERSION = '20230912.07';
+our $VERSION = '20230912.08';
sub new {
my ( $class, $rarg ) = @_;
use strict;
use warnings;
-our $VERSION = '20230912.07';
+our $VERSION = '20230912.08';
use English qw( -no_match_vars );
sub AUTOLOAD {