# knows that the number is in a package statement.
# Examples of valid primitive tokens that might follow are:
# 1235 . ; { } v3 v
- if ( $next_nonblank_token =~ /^([v\.\d;\{\}])|v\d|\d+$/ ) {
+ # FIX: added a '#' since a side comment may also follow
+ if ( $next_nonblank_token =~ /^([v\.\d;\{\}\#])|v\d|\d+$/ ) {
$statement_type = $tok;
}
else {
=over 4
+=item B<Check for side comment within package statement>
+
+Testing with randomly placed side comments caused perltidy to produce an incorrect
+warning when a side comment is placed before the end of a package statement:
+
+ package double # side comment
+ ;
+
+This update fixes this.
+3 Jul 2021.
+
=item B<Fix problem with -comma-arrow-breakpoint=n flag>
Testing revealed a formatting irregularity which was caused when the flag