in reply to Re (tilly) 3: autotie in Attribute Handlers
in thread autotie in Attribute Handlers

Any human looking at this would say that the first closing paren is inside of a quoted string, and so this code is correct.

Not a bug in Attribute::Handlers, but an inherent behaviour of the Perl 5 attribute mechanism. From attributes.pm:

Each attribute specification is a simple name, optionally followed by a parenthesised parameter list. If such a parameter list is present, it is scanned past as for the rules for the `q()' operator. (See the section on "Quote and Quote-like Operators" in the perlop manpage.) The parameter list is passed as it was found, however, and not as per `q()'.
  • Comment on Re: Re (tilly) 3: autotie in Attribute Handlers