This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feature.pl: Tweak comment
[perl5.git]
/
regen
/
regen_lib.pl
diff --git
a/regen/regen_lib.pl
b/regen/regen_lib.pl
index
4715236
..
dcee0a6
100644
(file)
--- a/
regen/regen_lib.pl
+++ b/
regen/regen_lib.pl
@@
-129,6
+129,7
@@
EOM
? wrap('# ', '# ', $raw) . "\n" : wrap('/* ', $style, $raw) . " */\n\n";
$cooked =~ tr/\0/ /; # Don't break Larry's name etc
$cooked =~ s/ +$//mg; # Remove all trailing spaces
+ $cooked =~ s! \*/\n!$args{quote}!s if $args{quote};
return $cooked;
}