The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
##########################################
# Basic Options

--maximum-line-length=0
--indent-columns=2
--notabs
#--check-syntax
#--perl-syntax-check-flags="-c"

##########################################
# Code Indentation Control

--continuation-indentation=2
--noline-up-parentheses

--closing-token-indentation=0
# is the same as setting all of these:
#--closing-paren-indentation=0
#--closing-square-bracket-indentation=0
#--closing-brace-indentation=0

--noindent-closing-paren
--noindent-closing-brace
--nooutdent-long-quotes
--nooutdent-labels
--nooutdent-keywords

##########################################
# Whitespace Controls

--paren-tightness=0
--square-bracket-tightness=0
--brace-tightness=0
--block-brace-tightness=0
--nospace-terminal-semicolon
--space-for-semicolon
--add-semicolons
--delete-semicolons
--add-whitespace
--delete-old-whitespace
--want-right-space="!"
--nospace-after-keyword="chomp"
--nospace-function-paren
--trim-qw

##########################################
# Comment Controls

--indent-block-comments
--nooutdent-long-comments
--minimum-space-to-comment=2
--hanging-side-comments
--closing-side-comments
--closing-side-comment-list="if elsif else unless for foreach sub while until : try catch"
--closing-side-comment-interval=18
--closing-side-comment-prefix="## end"
--closing-side-comment-maximum-text=15
--closing-side-comment-else-flag=0
--closing-side-comments-balanced
--static-block-comments
--static-block-comment-prefix="##"
--nooutdent-static-block-comments
--static-side-comments
--static-side-comment-prefix="##"

##########################################
# Skipping Selected Sections of Code

--format-skipping
--format-skipping-begin="## BEGIN UNTIDY"
--format-skipping-end="## END UNTIDY"

##########################################
# Line Break Control

#--nofreeze-newlines
--cuddled-else
--noopening-brace-on-new-line
--noopening-sub-brace-on-new-line
--noopening-anonymous-sub-brace-on-new-line
--nobrace-left-and-indent
--noopening-brace-always-on-right

--opening-token-right
# is the same as setting all of these:
#--opening-paren-right
#--opening-hash-brace-right
#--opening-square-bracket-right

--vertical-tightness=1
# is the same as:
#--paren-vertical-tightness=1
#--square-bracket-vertical-tightness=1
#--brace-vertical-tightness=1

--vertical-tightness-closing=0
# is the same as:
#--paren-vertical-tightness-closing=0
#--square-bracket-vertical-tightness-closing=0
#--brace-vertical-tightness-closing=0

--block-brace-vertical-tightness=0
--block-brace-vertical-tightness-list="if elsif else unless for foreach sub while until : try catch"

--stack-opening-tokens
# is the same as:
#--stack-opening-paren
#--stack-opening-hash-brace
#--stack-opening-square-bracket

--stack-closing-tokens
# is the same as:
#--stack-closing-paren
#--stack-closing-hash-brace
#--stack-closing-square-bracket

--delete-old-newlines
--add-newlines
--break-before-all-operators

##########################################
# Controlling List Formatting

--comma-arrow-breakpoints=2

##########################################
# Retaining/Ignoring Existing Line Breaks

--break-at-old-logical-breakpoints
--break-at-old-keyword-breakpoints
--break-at-old-ternary-breakpoints
--keep-interior-semicolons

##########################################
# Blank Line Control

--blanks-before-comments
--blanks-before-subs
--blanks-before-blocks
--long-block-line-count=0
--maximum-consecutive-blank-lines=1
--keep-old-blank-lines=1