cperl-after-block-p is a compiled Lisp function in `cperl-mode.el'.

(cperl-after-block-p LIM &optional PRE-BLOCK)

Return true if the preceding } (if PRE-BLOCK, following {) delimits a block.
Would not look before LIM. Assumes that LIM is a good place to begin a
statement. The kind of block we treat here is one after which a new
statement would start; thus the block in ${func()} does not count.