We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0562a79 commit ed107f3Copy full SHA for ed107f3
htmlify.pl
@@ -144,7 +144,7 @@
144
145
sub pod-title-contents($pod, $file) {
146
my $title-element = $pod[0].contents[0];
147
- my $title;
+ my $title = "";
148
if $title-element ~~ Pod::Block::Named && $title-element.name eq "TITLE" {
149
try {
150
$title = $title-element.contents[0].contents[0];
@@ -162,7 +162,7 @@
162
163
sub pod-author-contents($pod, $file) {
164
my $author-element = $pod[0].contents[1];
165
- my $author;
+ my $author = "";
166
if $author-element ~~ Pod::Block::Named && $author-element.name eq "AUTHOR" {
167
168
$author = $author-element.contents[0].contents[0];
@@ -174,6 +174,7 @@
174
else {
175
say "$file lacks an AUTHOR";
176
}
177
+
178
return $author;
179
180
0 commit comments