Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
Perl-Tidy-20171214.zip | 2017-12-14 | 456.4 kB | |
README.txt | 2017-12-14 | 2.3 kB | |
Perl-Tidy-20171214.tar.gz | 2017-12-14 | 435.3 kB | |
Totals: 3 Items | 894.0 kB | 0 |
This release fixes several minor bugs, most of which were were reported at CPAN. - RT #123749. "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. - RT #123774, added flag to control space between a backslash and a single or double quote, requested by Robert Rothenberg. The issue is that lines like $str1=\"string1"; $str2=\'string2'; confuse syntax highlighters unless a space is left between the backslash and the quote. The new flag to control this is -sbq=n (--space-backslash-quote=n), where n=0 means no space, n=1 means follow existing code, n=2 means always space. The default is n=1, meaning that a space will be retained if there is one in the source code. - Fixed RT #123492, support added for indented here doc operator <<~ added in v5.26. Thanks to Chris Weyl for the report. - Fixed docs; --closing-side-comment-list-string should have been just --closing-side-comment-list. Thanks to F.Li. - Added patch RT #122030] Perl::Tidy sometimes does not call binmode. Thanks to Irilis Aelae. - Fixed RT #121959, PERLTIDY doesn't honor the 'three dot' notation for locating a config file using environment variables. Thanks to John Wittkowski. - Minor improvements to formatting, in which some additional vertical aligmnemt is done. Thanks to Keith Neargarder. - RT #119588. Vertical alignment is no longer done for // operator.