chore: trick perltidy

This commit is contained in:
Stéphane Lesimple 2021-09-01 16:15:57 +00:00 committed by Stéphane Lesimple
parent cd5b61b239
commit 5d188faac0

View file

@ -21,11 +21,9 @@ sub dumpdoc {
elsif (defined $h{param} && defined $h{default} && defined $h{desc} && defined $h{type}) {
die "attempting to dump data but section=$section" if !$section;
push @{$sections{$section}}, $h{param};
push @out, ".. _$h{param}:\n", "\n"
if $ENV{'GLOBAL_REFS'};
push @out, (".. _$h{param}:\n", "\n") if $ENV{'GLOBAL_REFS'};
push @out, "$h{param}\n", "*" x length($h{param}) . "\n", "\n", ":Type: ``$h{type}``\n", "\n", ":Default: ``$h{default}``\n", "\n";
push @out, ":Example: ``$h{example}``\n", "\n"
if $h{example};
push @out, (":Example: ``$h{example}``\n", "\n") if $h{example};
push @out, "$h{desc}\n", "\n";
}
else {