-cpb and -bfvt=n. These work in version 20230309 but the pod
documentation was missing and has been added.
+ - Fixed an undefined reference message when running with
+ --dump-block-summary on a file without any subs or other
+ selected block types.
+
- Some rare, minor issues with continuation indentation have been fixed.
Most scripts will remain unchanged. The main change is that block
comments which occur just before a closing brace, bracket or paren
my ( $self, $rdump_block_types ) = @_;
- # returns a list of all package statements in a file if requested
+ # returns a list of all selected package statements in a file
+ my @package_list;
unless ( $rdump_block_types->{'*'}
|| $rdump_block_types->{'package'}
|| $rdump_block_types->{'class'} )
{
- return;
+ return \@package_list;
}
my $rLL = $self->[_rLL_];
my $rlines = $self->[_rlines_];
my $K_closing_container = $self->[_K_closing_container_];
- my @package_list;
my @package_sweep;
foreach my $KK ( 0 .. $Klimit ) {
my $item = $rLL->[$KK];