cperl-set-style

cperl-set-style is an interactive compiled Lisp function in `cperl-mode.el'.


(cperl-set-style STYLE)

Set CPerl mode variables to use one of several different indentation styles.
The arguments are a string representing the desired style.
The list of styles is in `cperl-style-alist', available styles
are CPerl, PerlStyle, GNU, K&R, BSD, C++ and Whitesmith.

The current value of style is memorized (unless there is a memorized
data already), may be restored by `cperl-set-style-back'.

Choosing "Current" style will not change style, so this may be used for
side-effect of memorizing only. Examples in `cperl-style-examples'.