Skip to content
  • sikeda's avatar
    [*change] Reformatting Perl sources using perltidy, · 9da4473e
    sikeda authored
    except: src/lib/Challenge.pm, src/lib/WebAgent.pm and files under ext/.
    Additionally reparing long comment lines.
    
    Used configuration for perltidy (.perltidyrc) is approximately:
    ------------ >8 ------------ >8 ------------ >8 ------------
    # Differences from PBP are marked *.
    -bar   # Opening brace always on right (* no)
    -bbt=1 # Medium block brace tightness
    -bt=2  # Strong brace tightness (* 1)
    -ce    # Cuddled else (* no)
    -cti=0 # No extra indentation for closing brackets
    -i=4   # Indent level is 4 cols
    -ci=4  # Continuation indent is 4 cols
    -l=78  # Max line witdh is 78 cols
    -nolc  # Don't outdent long comments (* -olc)
    -nolq  # Don't outdent long quoted strings
    -nsbl  # No opening sub brace on new line (* -sbl)
    -nsfs  # No space before semicolons
    -pt=2  # Strong parenthesis tightness (* 1)
    -sbcp='#' # Don't format non-static block comments automatically (* '##')
    -sbt=2 # Strong square bracket tightness (* 1)
    -se    # Errors to STDERR
    #-st   # Output to STDOUT
    -vt=2  # Maximal vertical tightness
    -wba="% + - * / x != == >= <= =~ !~ < > | & >= < = **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x="
    # Break after all operators
    ------------ 8< ------------ 8< ------------ 8< ------------
    
    
    git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@10721 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
    9da4473e