Subject: | {{$NEXT}} is serialized with excess whitespace |
Its probably not important for most people, but its annoying me somewhat.
When you parse a perfectly valid file with a {{$NEXT}} token in it, and then re-serialize the output, an additional whitespace is added after the {{$NEXT}} token.
This is due I think to this line of code: https://github.com/bricas/cpan-changes/blob/master/lib/CPAN/Changes/Release.pm#L107
my $output = sprintf "%s %s\n", $self->version, $self->date;
->date is of course "undefined" here, emitting "{VERSION}{SPACE}" where merely "{VERSION}" would be preferable.
Thanks.
When you parse a perfectly valid file with a {{$NEXT}} token in it, and then re-serialize the output, an additional whitespace is added after the {{$NEXT}} token.
This is due I think to this line of code: https://github.com/bricas/cpan-changes/blob/master/lib/CPAN/Changes/Release.pm#L107
my $output = sprintf "%s %s\n", $self->version, $self->date;
->date is of course "undefined" here, emitting "{VERSION}{SPACE}" where merely "{VERSION}" would be preferable.
Thanks.