--want-trailing-commas='h'
--delete-trailing-commas
+==> b1496.in <==
+my @abc
+ = qw( a b c d e
+ );
+
+my @abc = qw(
+a b c d e );
+
+==> b1496.par <==
+--maximum-line-length=21
+--indent-columns=0
+--continuation-indentation=5
+--line-up-parentheses
+--break-before-all-operators
+--novalign-code
+--break-at-trailing-comma-types='i'
+--qw-as-function
+
==> b156.in <==
# State 1
{
}
# set flag to retain trailing comma breaks (b1493, c416)
+ # length check needed to ignore phantom commas (b1496)
if ( $last_nonblank_code_type eq ','
&& $trailing_comma_break_rules{$token}
- && $Ktoken_vars == $Kfirst_old )
+ && $Ktoken_vars == $Kfirst_old
+ && length($last_nonblank_code_token) )
{
$self->[_rbreak_container_]->{$type_sequence} = 1;
}