Skip to content

Commit

Permalink
remove underscore from VERSION in podlators
Browse files Browse the repository at this point in the history
When using versions with underscores, best practice is to remove the
underscore on a later line, to allow using the version as a number when
accessing the variable directly.
  • Loading branch information
haarg committed Apr 28, 2024
1 parent d330c0a commit b2547d9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion cpan/podlators/lib/Pod/Man.pm
Expand Up @@ -30,7 +30,8 @@ BEGIN {
}

our @ISA = qw(Pod::Simple);
our $VERSION = '5.01_01';
our $VERSION = '5.01_02';
$VERSION =~ tr/_//d;

# Ensure that $Pod::Simple::nbsp and $Pod::Simple::shy are available. Code
# taken from Pod::Simple 3.32, but was only added in 3.30.
Expand Down
3 changes: 2 additions & 1 deletion cpan/podlators/lib/Pod/ParseLink.pm
Expand Up @@ -21,7 +21,8 @@ use Exporter;

our @ISA = qw(Exporter);
our @EXPORT = qw(parselink);
our $VERSION = '5.01_01';
our $VERSION = '5.01_02';
$VERSION =~ tr/_//d;

##############################################################################
# Implementation
Expand Down
3 changes: 2 additions & 1 deletion cpan/podlators/lib/Pod/Text.pm
Expand Up @@ -24,7 +24,8 @@ use Exporter ();
use Pod::Simple ();

our @ISA = qw(Pod::Simple Exporter);
our $VERSION = '5.01_01';
our $VERSION = '5.01_02';
$VERSION =~ tr/_//d;

# We have to export pod2text for backward compatibility.
our @EXPORT = qw(pod2text);
Expand Down
3 changes: 2 additions & 1 deletion cpan/podlators/lib/Pod/Text/Color.pm
Expand Up @@ -20,7 +20,8 @@ use Pod::Text ();
use Term::ANSIColor qw(color colored);

our @ISA = qw(Pod::Text);
our $VERSION = '5.01_01';
our $VERSION = '5.01_02';
$VERSION =~ tr/_//d;

##############################################################################
# Overrides
Expand Down
3 changes: 2 additions & 1 deletion cpan/podlators/lib/Pod/Text/Overstrike.pm
Expand Up @@ -26,7 +26,8 @@ use warnings;
use Pod::Text ();

our @ISA = qw(Pod::Text);
our $VERSION = '5.01_01';
our $VERSION = '5.01_02';
$VERSION =~ tr/_//d;

##############################################################################
# Overrides
Expand Down
3 changes: 2 additions & 1 deletion cpan/podlators/lib/Pod/Text/Termcap.pm
Expand Up @@ -21,7 +21,8 @@ use POSIX ();
use Term::Cap;

our @ISA = qw(Pod::Text);
our $VERSION = '5.01_01';
our $VERSION = '5.01_02';
$VERSION =~ tr/_//d;

##############################################################################
# Overrides
Expand Down

0 comments on commit b2547d9

Please sign in to comment.