cperl-calculate-indent is a compiled Lisp function in `cperl-mode.el'.

(cperl-calculate-indent &optional PARSE-DATA)

Return appropriate indentation for current line as Perl code.
In usual case returns an integer: the column to indent to.
Returns nil if line starts inside a string, t if in a comment.

Will not correct the indentation for labels, but will correct it for braces
and closing parentheses and brackets.