Please login to access the resource

Parses and beautifies perl source

Edit Package perl-Perl-Tidy
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.

Refresh
Refresh
Source Files
Filename Size Changed
Perl-Tidy-20171214.tar.gz 0000435256 425 KB
cpanspec.yml 0000000541 541 Bytes
perl-Perl-Tidy.changes 0000017546 17.1 KB
perl-Perl-Tidy.spec 0000002426 2.37 KB
Revision 32 (latest revision is 87)
Stephan Kulow's avatar Stephan Kulow (coolo) committed (revision 32)
- updated to 20171214
   see /usr/share/doc/packages/perl-Perl-Tidy/CHANGES
    2017 12 14
        - RT #123749, partial fix.  "Continuation indentation" is removed from lines 
          with leading closing parens which are part of a call chain. 
          For example, the call to pack() is is now outdented to the starting 
          indentation in the following experession:  
  
              # OLD
              $mw->Button(
                  -text    => "New Document",
                  -command => \&new_document
                )->pack(
                  -side   => 'bottom',
                  -anchor => 'e'
                );
  
              # NEW
              $mw->Button(
                  -text    => "New Document",
                  -command => \&new_document
              )->pack(
                  -side   => 'bottom',
                  -anchor => 'e'
              );
  
          This modification improves readability of complex expressions, especially
          when the user uses the same value for continuation indentation (-ci=n) and 
          normal indentation (-i=n).  Perltidy was already programmed to
          do this but a minor bug was preventing it.
Comments 0
openSUSE Build Service is sponsored by