Download Latest Version Perl-Tidy-20250711.tar.gz (1.2 MB)
Email in envelope

Get an email when there's a new version of perltidy

Home / 20201207
Name Modified Size InfoDownloads / Week
Parent folder
README.txt 2020-12-06 845 Bytes
Perl-Tidy-20201207.tar.gz 2020-12-06 728.8 kB
Perl-Tidy-20201207.zip 2020-12-06 786.7 kB
Totals: 3 Items   1.5 MB 0
## Changes from version version 2020 12 02 to version 2020 12 07

This release fixes an error that was discovered in the behavior of the -wn flag in version 2020 12 01:

    - Fixed issue git #47, incorrect welding of anonymous subs. 
      An incorrect weld format was being made when the --weld-nested-containers option
      (-wn) was used in to format a function which returns a list of anonymous subs.
      For example, the following snippet was incorrectly being welded.

    $promises[$i]->then(
        sub { $all->resolve(@_); () },
        sub {
            $results->[$i] = [@_];
            $all->reject(@$results) if --$remaining <= 0;
            return ();
        }
    );

    This was due to an error introduced in v20201201 related to parsing sub
    signatures.  Reformatting with the current version will fix the problem.

Source: README.txt, updated 2020-12-06