This bug apparently can no longer be reproduced. Using quick'n'dirty bisection (avoiding recompilations of the whole source tree) I could track the fix back to commit 1bcbcb7e, "lisp/progmodes/cperl-mode.el: Merge from Jonathan Rockway's version" by Stefan Monnier, 21st Dec 2017. This makes sense since this commit introduced a new function 'cperl-calculate-indent' to cperl-mode.el. The patch adds a test to verify correct behavior, and also adds the relevant variable cperl-close-paren-offset (which is explicitly set in the bug report) to the scope of the cperl-set-style setting "PBP". This variable is documented in the book, but wasn't included yet. -- Cheers, haj