in reply to Re^2: To <=80 char code line length or not
in thread To <=80 char code line length or not

Believable!

I'd be interested to see an example, configuration of perltidy is indeed complex.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^3: To <=80 char code line length or not

Replies are listed 'Best First'.
Re^4: To <=80 char code line length or not
by choroba (Cardinal) on Jun 11, 2018 at 16:44 UTC
    For example, with

    the following part of the code (note the tabs)

    Exception::throw( sprintf( 'Problem accessing resource on URI: "%s" by "%s" at "% +s, line %s".', $uri, caller() ) );

    was tidied to

    Exception::throw( sprintf( 'Problem accessing resource on URI: "%s" by "%s" at "%s, line %s".', $uri, caller() ) );

    Basically, long lines are broken in unexpected places, ternary operator is rendered unreadable, etc.

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,