Skip to content

Commit a215f87

Browse files
committed
Start by tidying indents on sub main::dumpvar
1 parent bb13a22 commit a215f87

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

lib/dumpvar.pl

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -477,26 +477,27 @@ sub main::dumpvar {
477477
$package .= "::" unless $package =~ /::$/;
478478
*stab = *{"main::"};
479479
while ($package =~ /(\w+?::)/g){
480-
*stab = $ {stab}{$1};
480+
*stab = $ {stab}{$1};
481481
}
482482
local $TotalStrings = 0;
483483
local $Strings = 0;
484484
local $CompleteTotal = 0;
485485
while (($key,$val) = each(%stab)) {
486-
return if $DB::signal;
487-
next if @vars && !grep( matchvar($key, $_), @vars );
488-
if ($usageOnly) {
489-
globUsage(\$val, $key)
490-
if ($package ne 'dumpvar' or $key ne 'stab')
491-
and ref(\$val) eq 'GLOB';
492-
} else {
493-
dumpglob(0,$key, $val, 0, $m);
494-
}
486+
return if $DB::signal;
487+
next if @vars && !grep( matchvar($key, $_), @vars );
488+
if ($usageOnly) {
489+
globUsage(\$val, $key)
490+
if ($package ne 'dumpvar' or $key ne 'stab')
491+
and ref(\$val) eq 'GLOB';
492+
}
493+
else {
494+
dumpglob(0,$key, $val, 0, $m);
495+
}
495496
}
496497
if ($usageOnly) {
497-
print "String space: $TotalStrings bytes in $Strings strings.\n";
498-
$CompleteTotal += $TotalStrings;
499-
print "Grand total = $CompleteTotal bytes (1 level deep) + overhead.\n";
498+
print "String space: $TotalStrings bytes in $Strings strings.\n";
499+
$CompleteTotal += $TotalStrings;
500+
print "Grand total = $CompleteTotal bytes (1 level deep) + overhead.\n";
500501
}
501502
}
502503

0 commit comments

Comments
 (0)