Subject: bug#8062: perl-mode final ); indenting

From: Mauro Aranda <[email-masked]>
Date: Mon, 19 Sep 2022 17:22:33 -0300

Stefan Kangas <[email-masked]> writes:

 > [email-masked] writes:
 >
 >> emacs -Q this file.pl, emacs-version "24.0.50.1"
 >>
 >> #!/usr/bin/perl
 >> my %h = (
 >>     '1-3' => {
 >>         name  => '慶福街 1-3 Qingfu St.',
 >>         coord => '120.865225,24.181802',
 >>     },
 >>     '1-6' => {
 >>         name  => '慶福街 1-6 Qingfu St.',
 >>         coord => '120.866215,24.181668',
 >>     }
 >>     ); #<--TAB put this here. It should be in column one.
 >> Run it through perltidy to check.
 >
 > I can reproduce this bug on Emacs 26.2.
 >

This was a bug back then, but since fc72b15c777 there's a new option:
perl-indent-parens-as-block.  Customizing it to non-nil gives the desired
indentation.

See Bug#11118, which I think should be merged with this one.