## 2024 02 02.01
- - The option --delete-repeated-commas, -drc has been expanded as follows:
+ - The option --delete-repeated-commas is now the default.
+
+ It makes the following checks and changes:
- Repeated commas like ',,' on the same line are removed with a warning
- Repeated fat commas like '=> =>' on the same line are removed with a
warning
- - Repeated commas and fat commas on different lines remain unchanged
- but produce a warning
+ - Repeated commas and fat commas on different lines remain unchanged but
+ produce a warning (to avoid promoting a side-comment to block comment)
- The combination '=>,' produces a warning but is not changed (it is
- likely a serious error but only its author would know how to fix it).
- These warnings are only output if the --warnings flag is set.
- The -drc option is off by default; this could change in the future.
+ likely an error but only its author would know how to fix it).
+ These warnings are only output if the --warning-output, -w flag is set.
+
+ This is now the DEFAULT Behavior.
+ To avoid this change, use --nodelete-repeated-commas, or -ndrc.
- Added control --delete-interbracket-arrows, or -dia, to delete optional
hash ref and array ref arrows between brackets as in the following
=item *
-Note that the special combination ',=>' ('winking fat comma') is ignored
-by this parameter.
+Note that the remaining combination ',=>' (sometimes called a
+'winking fat comma') is ignored by this parameter.
=item *
=back
-This feature is currently off by default and must be requested.
+This feature is on by default. Use B<-ndrc> to turn it off.
=item B<--want-trailing-commas=s> or B<-wtc=s>, B<--add-trailing-commas> or B<-atc>, and B<--delete-trailing-commas> or B<-dtc>
noextended-continuation-indentation
cuddled-break-option=1
delete-old-newlines
+ delete-repeated-commas
delete-semicolons
dump-block-minimum-lines=20
dump-block-types=sub
-ignoreSpec( $file, "file",, \%spec,,, \%Rspec );
+ignoreSpec( $file, "file", \%spec, \%Rspec );
-ignoreSpec( $file, "file", \%spec, \%Rspec );
+ignoreSpec( $file, "file",, \%spec,,, \%Rspec );
--code-skipping-end='#>>V'
----------
'def' => "",
- 'drc' => "-drc",
+ 'drc' => "-ndrc",
'git106' => "-xlp -gnu -xci",
'git108' => "-wn -wfc",
'git93' => <<'----------',
source => "drc",
params => "def",
expect => <<'#9...........',
-ignoreSpec( $file, "file",, \%spec,,, \%Rspec );
+ignoreSpec( $file, "file", \%spec, \%Rspec );
#9...........
},
source => "drc",
params => "drc",
expect => <<'#10...........',
-ignoreSpec( $file, "file", \%spec, \%Rspec );
+ignoreSpec( $file, "file",, \%spec,,, \%Rspec );
#10...........
},