|Pathologically Eclectic Rubbish Lister|
Re: Formatting Perl code with Emacs (updated)by LanX (Canon)
|on Nov 06, 2013 at 13:53 UTC||Need Help??|
That's a long known issue which can only be solved by patching cperl-mode.
I identified the necessary changes in a discussion in "gnu emacs help" some years ago and Ilya welcomed any patches...¹
Don't know if recent versions already solved this...
HTH ! =)
( addicted to the Perl Programming Language)
An easy workaround is to put the opening bracket into the next line...
Sorry can't demonstrate while on mobile...
footnotes¹) see here CPerl-Mode Indentation and here