From 9c625880221169586d8657c36d5acf00b25b5415 Mon Sep 17 00:00:00 2001 From: Steve Hancock Date: Thu, 11 Jun 2020 07:12:31 -0700 Subject: [PATCH] update docs --- CHANGES.md | 2 ++ bin/perltidy | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 4d765afe..28d4f9f6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,8 @@ ## 2020 01 10.01 + - Added support for Switch::Plain syntax, issue git #31. + - Fixed minor problem where trailing 'unless' clauses were not getting vertically aligned. diff --git a/bin/perltidy b/bin/perltidy index f78b1fb4..04c43631 100755 --- a/bin/perltidy +++ b/bin/perltidy @@ -551,6 +551,10 @@ a syntax error and the braces would not be balanced: $self->balance( $self->balance + $amount ); } +For one of the extensions, module Switch::Plain, colons are marked as labels. +If you use this module, you may want to also use the B<--nooutdent-labels> flag +to prevent lines such as 'default:' from being outdented. + This flag is enabled by default but it can be deactivated with B<-nxs>. Probably the only reason to deactivate this flag is to generate more diagnostic messages when debugging a script. -- 2.39.5