open(my $dst, ">:encoding(UTF-8)", "$docBuildDir/$fn") or
die "can not open $docBuildDir/$fn";
while(<$src>) {
- ( print($dst $_) and next ) unless /^\@DOCSTRING (.*)\@$/;
+ ( print($dst $_) and next ) unless /^\s*\@DOCSTRING (.*)\@$/;
print "\t$fn: $1\n" if $verbose;
die "unable to find docstring: $1" unless defined $docstrings{$1};
print $dst $docstrings{$1};