Subject: bug#18502: 24.4.50; perl-mode indentation problem

From: Stefan Monnier <[email-masked]>
Date: Sun, 21 Sep 2014 18:01:13 -0400

> perl mode automatically indents substantially off to the right following the
> first sub definition that has an odd number of '$' characters in the argument
> spec, eg.:

> 	#!/usr/bin/perl -w

> 	sub add_funds($) {
> 	    return 0;
> 		      }

Indeed, the code that handles this had a bug which made it fail when the
identifier has an underscore.

        Stefan