cperl-style-alist

cperl-style-alist is a variable defined in `cperl-mode.el'.
Its value is shown below.
  • This variable may be risky if used as a file-local variable.

Documentation:
List of variables to set to get a particular indentation style.
Should be used via `cperl-set-style' or via Perl menu.

See examples in `cperl-style-examples'.

Value:

(("CPerl" (cperl-indent-level . 2) (cperl-brace-offset . 0) (cperl-continued-brace-offset . 0) (cperl-label-offset . -2) (cperl-continued-statement-offset . 2) (cperl-extra-newline-before-brace) (cperl-extra-newline-before-brace-multiline) (cperl-merge-trailing-else . t)) ("PerlStyle" (cperl-indent-level . 4) (cperl-brace-offset . 0) (cperl-continued-brace-offset . 0) (cperl-label-offset . -4) (cperl-continued-statement-offset . 4) (cperl-extra-newline-before-brace) (cperl-extra-newline-before-brace-multiline) (cperl-merge-trailing-else . t)) ("GNU" (cperl-indent-level . 2) (cperl-brace-offset . 0) (cperl-continued-brace-offset . 0) (cperl-label-offset . -2) (cperl-continued-statement-offset . 2) (cperl-extra-newline-before-brace . t) (cperl-extra-newline-before-brace-multiline . t) (cperl-merge-trailing-else)) ("K&R" (cperl-indent-level . 5) (cperl-brace-offset . 0) (cperl-continued-brace-offset . -5) (cperl-label-offset . -5) (cperl-continued-statement-offset . 5) (cperl-merge-trailing-else)) ("BSD" (cperl-indent-level . 4) (cperl-brace-offset . 0) (cperl-continued-brace-offset . -4) (cperl-label-offset . -4) (cperl-continued-statement-offset . 4)) ("C++" (cperl-indent-level . 4) (cperl-brace-offset . 0) (cperl-continued-brace-offset . -4) (cperl-label-offset . -4) (cperl-continued-statement-offset . 4) (cperl-extra-newline-before-brace . t) (cperl-extra-newline-before-brace-multiline . t) (cperl-merge-trailing-else)) ("Whitesmith" (cperl-indent-level . 4) (cperl-brace-offset . 0) (cperl-continued-brace-offset . 0) (cperl-label-offset . -4) (cperl-continued-statement-offset . 4)) ("Current"))