use Time::Piece;
use Time::Seconds;
use version;
-$Text::Wrap::columns = 80;
+$Text::Wrap::columns = 77;
my $since_until = shift;
were approximately $formatted_code_changes lines of changes to
$formatted_code_files .pm, .t, .c and .h files.
-Perl continues to flourish into its third decade thanks to a vibrant
+Perl continues to flourish into its fourth decade thanks to a vibrant
community of users and developers. The following people are known to
have contributed the improvements that became Perl $next_version:
# version
sub changes_files {
my $output = qx(git diff --shortstat $since_until);
- my @filenames = qx(git diff --numstat $since_until | $^X -anle 'next if m{^dist/Module-CoreList} or not /\\.(?:pm|c|h|t)\\z/; print \$F[2]');
+ my $q = ($^O =~ /^(?:MSWin32|NetWare|VMS)$/io) ? '"' : "'";
+ my @filenames = qx(git diff --numstat $since_until | $^X -anle ${q}next if m{^dist/Module-CoreList} or not /\\.(?:pm|c|h|t)\\z/; print \$F[2]$q);
chomp @filenames;
my $output_code_changed = qx# git diff --shortstat $since_until -- @filenames #;