Parses and beautifies perl source
https://metacpan.org/dist/Perl-Tidy
This module makes the functionality of the perltidy utility available to
perl scripts. Any or all of the input parameters may be omitted, in which
case the @ARGV array will be used to provide input parameters as described
in the perltidy(1) man page.
- Sources inherited from project devel:languages:perl
- Devel package for openSUSE:Factory
- Links to openSUSE:Factory / perl-Perl-Tidy
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Tomcat42/perl-Perl-Tidy && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Perl-Tidy-20190915.tar.gz | 0000599290 585 KB | |
_link | 0000000149 149 Bytes | |
cpanspec.yml | 0000000541 541 Bytes | |
perl-Perl-Tidy.changes | 0000028649 28 KB | |
perl-Perl-Tidy.spec | 0000002315 2.26 KB |
Revision 44 (latest revision is 87)
- updated to 20190915 see /usr/share/doc/packages/perl-Perl-Tidy/CHANGES.md ## 2019 09 15 - fixed issue RT#130344: false warning "operator in print statement" for "use lib". - fixed issue RT#130304: standard error output should include filename. When perltidy error messages are directed to the standard error output with -se or --standard-error-output, the message lines now have a prefix 'filename:' for clarification in case multiple files are processed, where 'filename' is the name of the input file. If input is from the standard input the displayed filename is '<stdin>', and if it is from a data structure then displayed filename is '<source_stream>'. - implement issue RT#130425: check mode. A new flag '--assert-tidy' will cause an error message if the output script is not identical to the input script. For completeness, the opposite flag '--assert-untidy' has also been added. The next item, RT#130297, insures that the script will exit with a non-zero exit flag if the assertion fails. - fixed issue RT#130297; the perltidy script now exits with a nonzero exit status if it wrote to the standard error output. Prevously only fatal run errors produced a non-zero exit flag. Now, even non-fatal messages requested with the -w flag will cause a non-zero exit flag. The exit flag now has these values: 0 = no errors 1 = perltidy could not run to completion due to errors 2 = perltidy ran to completion with error messages - added warning message for RT#130008, which warns of conflicting input parameters -iob and -bom or -boc. - fixed RT#129850; concerning a space between a closing block brace and opening bracket or brace, as occurs before the '[' in this line: my @addunix = map { File::Spec::Unix->catfile( @ROOT, @$_ ) } ['b']; Formerly, any space was removed. Now it is optional, and the output will follow the input. - fixed issue git#13, needless trailing whitespace in error message - fixed issue git#9: if the -ce (--cuddled-else) flag is used, do not try to form new one line blocks for a block type specified with -cbl, particularly map, sort, grep - iteration speedup for unchanged code. Previously, when iterations were requested, at least two formatting passes were made. Now just a single pass is made if the formatted code is identical to the input code. - some improved vertical alignments
Comments 0