cperl-invert-if-unless

cperl-invert-if-unless is an interactive compiled Lisp function in `cperl-mode.el'.


(cperl-invert-if-unless)

Change `if (A) {B}' into `B if A;' etc (or visa versa) if possible.
If the cursor is not on the leading keyword of the BLOCK flavor of
construct, will assume it is the STATEMENT flavor, so will try to find
the appropriate statement modifier.