# Perltidy Change Log
-## 2021 10 29.05
+## 2021 10 29.06
- A new flag --break-after-labels=i, or -bal=i, was added as requested
in git #86. This controls line breaks after labels, as follows:
-bal=1 always break after a label
-bal=2 never break after a label
- So for example, for the following input
-
- INIT: {
- $xx = 1.234;
- }
-
+ For example:
+
# perltidy -bal=1
INIT:
{
$xx = 1.234;
}
+ # perltidy -bal=2
+ INIT: {
+ $xx = 1.234;
+ }
+
+ - Fix issue git #82, an error handling something like ${bareword} in a possible
+ indirect object location.
+
- A new flag, --encode-output-strings, or -eos, has been added to resolve
issue git #83. This issue involves the interface between Perl::Tidy and
calling programs, and tidyall in particular. If you use tidyall and have
- The flags -kbb=s or --keep-old-breakpoints-before=s, and its counterpart
-kba=s or --keep-old-breakpoints-after=s have expanded functionality
- for the container tokens { [ ( and } ] ). See the updated man pages for
+ for the container tokens: { [ ( } ] ). The updated man pages have
details.
- Two new flags have been added to provide finer vertical alignment control,
MANIFEST This list of files
pm2pl
README.md
+t/.gitattributes
t/atee.t
t/filter_example.t
t/snippets1.t
t/snippets23.t
t/snippets24.t
t/snippets25.t
+t/snippets26.t
t/snippets3.t
t/snippets4.t
t/snippets5.t
t/test.t
t/testsa.t
t/testss.t
+t/testwide-passthrough.pl.src
+t/testwide-passthrough.t
+t/testwide-tidy.pl.src
+t/testwide-tidy.pl.srctdy
+t/testwide-tidy.t
t/testwide.pl.src
t/testwide.t
=head1 VERSION
-This man page documents perltidy version 20211029.05
+This man page documents perltidy version 20211029.06
=head1 BUG REPORTS
# Release version must be bumped, and it is probably past time for a
# release anyway.
- $VERSION = '20211029.05';
+ $VERSION = '20211029.06';
}
sub DESTROY {
=head1 VERSION
-This man page documents Perl::Tidy version 20211029.05
+This man page documents Perl::Tidy version 20211029.06
=head1 LICENSE
package Perl::Tidy::Debugger;
use strict;
use warnings;
-our $VERSION = '20211029.05';
+our $VERSION = '20211029.06';
sub new {
package Perl::Tidy::DevNull;
use strict;
use warnings;
-our $VERSION = '20211029.05';
+our $VERSION = '20211029.06';
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.05';
+our $VERSION = '20211029.06';
sub AUTOLOAD {
package Perl::Tidy::FileWriter;
use strict;
use warnings;
-our $VERSION = '20211029.05';
+our $VERSION = '20211029.06';
use constant DEVEL_MODE => 0;
{ #<<< A non-indenting brace to contain all lexical variables
use Carp;
-our $VERSION = '20211029.05';
+our $VERSION = '20211029.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 = '20211029.05';
+our $VERSION = '20211029.06';
use File::Basename;
use strict;
use warnings;
use Carp;
-our $VERSION = '20211029.05';
+our $VERSION = '20211029.06';
sub AUTOLOAD {
use strict;
use warnings;
use Carp;
-our $VERSION = '20211029.05';
+our $VERSION = '20211029.06';
sub AUTOLOAD {
package Perl::Tidy::IndentationItem;
use strict;
use warnings;
-our $VERSION = '20211029.05';
+our $VERSION = '20211029.06';
BEGIN {
package Perl::Tidy::LineBuffer;
use strict;
use warnings;
-our $VERSION = '20211029.05';
+our $VERSION = '20211029.06';
sub AUTOLOAD {
package Perl::Tidy::LineSink;
use strict;
use warnings;
-our $VERSION = '20211029.05';
+our $VERSION = '20211029.06';
sub AUTOLOAD {
package Perl::Tidy::LineSource;
use strict;
use warnings;
-our $VERSION = '20211029.05';
+our $VERSION = '20211029.06';
sub AUTOLOAD {
package Perl::Tidy::Logger;
use strict;
use warnings;
-our $VERSION = '20211029.05';
+our $VERSION = '20211029.06';
sub AUTOLOAD {
package Perl::Tidy::Tokenizer;
use strict;
use warnings;
-our $VERSION = '20211029.05';
+our $VERSION = '20211029.06';
# this can be turned on for extra checking during development
use constant DEVEL_MODE => 0;
use strict;
use warnings;
use Carp;
-our $VERSION = '20211029.05';
+our $VERSION = '20211029.06';
use Perl::Tidy::VerticalAligner::Alignment;
use Perl::Tidy::VerticalAligner::Line;
{ #<<< A non-indenting brace
-our $VERSION = '20211029.05';
+our $VERSION = '20211029.06';
BEGIN {
package Perl::Tidy::VerticalAligner::Line;
use strict;
use warnings;
-our $VERSION = '20211029.05';
+our $VERSION = '20211029.06';
BEGIN {