Skip to content

Commit

Permalink
Adapt corelist-perldelta to the current perldelta style
Browse files Browse the repository at this point in the history
Apparently we used to do

  =item C<Module>
  ...

but these days all the perldeltas seem to prefer

  =item *
  C<Module> ...

instead.
  • Loading branch information
rafl committed Mar 21, 2011
1 parent 0ee9b6b commit 0f200d9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Porting/corelist-perldelta.pl
Expand Up @@ -12,23 +12,23 @@

sub added {
my ($mod, $old_v, $new_v) = @_;
say "=item C<$mod>\n";
say "Version $new_v has been added to the Perl core.\n";
say "=item *\n";
say "C<$mod> $new_v has been added to the Perl core.\n";
}

sub updated {
my ($mod, $old_v, $new_v) = @_;
say "=item C<$mod>\n";
say "Upgraded from version $old_v to $new_v.\n";
say "=item *\n";
say "C<$mod> has been upgraded from version $old_v to $new_v.\n";
if ( $deprecated->{$mod} ) {
say "NOTE: C<$mod> is deprecated and may be removed from a future version of Perl.\n";
}
}

sub removed {
my ($mod, $old_v, $new_v) = @_;
say "=item C<$mod>\n";
say "Removed from the Perl core. Prior version was $old_v.\n";
say "=item *\n";
say "C<$mod> has been removed from the Perl core. Prior version was $old_v.\n";
}

sub generate_section {
Expand Down

0 comments on commit 0f200d9

Please sign in to comment.