Skip to content

Commit 229ee78

Browse files
committed
remove underscore from VERSION in podlators
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.
1 parent d330c0a commit 229ee78

File tree

7 files changed

+18
-12
lines changed

7 files changed

+18
-12
lines changed

cpan/podlators/lib/Pod/Man.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ BEGIN {
3030
}
3131

3232
our @ISA = qw(Pod::Simple);
33-
our $VERSION = '5.01_01';
33+
our $VERSION = '5.01_02';
34+
$VERSION =~ tr/_//d;
3435

3536
# Ensure that $Pod::Simple::nbsp and $Pod::Simple::shy are available. Code
3637
# taken from Pod::Simple 3.32, but was only added in 3.30.

cpan/podlators/lib/Pod/ParseLink.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ use Exporter;
2121

2222
our @ISA = qw(Exporter);
2323
our @EXPORT = qw(parselink);
24-
our $VERSION = '5.01_01';
24+
our $VERSION = '5.01_02';
25+
$VERSION =~ tr/_//d;
2526

2627
##############################################################################
2728
# Implementation

cpan/podlators/lib/Pod/Text.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ use Exporter ();
2424
use Pod::Simple ();
2525

2626
our @ISA = qw(Pod::Simple Exporter);
27-
our $VERSION = '5.01_01';
27+
our $VERSION = '5.01_02';
28+
$VERSION =~ tr/_//d;
2829

2930
# We have to export pod2text for backward compatibility.
3031
our @EXPORT = qw(pod2text);

cpan/podlators/lib/Pod/Text/Color.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ use Pod::Text ();
2020
use Term::ANSIColor qw(color colored);
2121

2222
our @ISA = qw(Pod::Text);
23-
our $VERSION = '5.01_01';
23+
our $VERSION = '5.01_02';
24+
$VERSION =~ tr/_//d;
2425

2526
##############################################################################
2627
# Overrides

cpan/podlators/lib/Pod/Text/Overstrike.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ use warnings;
2626
use Pod::Text ();
2727

2828
our @ISA = qw(Pod::Text);
29-
our $VERSION = '5.01_01';
29+
our $VERSION = '5.01_02';
30+
$VERSION =~ tr/_//d;
3031

3132
##############################################################################
3233
# Overrides

cpan/podlators/lib/Pod/Text/Termcap.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ use POSIX ();
2121
use Term::Cap;
2222

2323
our @ISA = qw(Pod::Text);
24-
our $VERSION = '5.01_01';
24+
our $VERSION = '5.01_02';
25+
$VERSION =~ tr/_//d;
2526

2627
##############################################################################
2728
# Overrides

t/porting/customized.dat

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ Time::Piece cpan/Time-Piece/Piece.pm 8cec8b66183ceddb9bf2b6af35dcdd345bc9adfa
1515
Time::Piece cpan/Time-Piece/Piece.xs 543152540ee17788a638b2c5746b86c3d04401d1
1616
Win32API::File cpan/Win32API-File/File.pm 8fd212857f821cb26648878b96e57f13bf21b99e
1717
Win32API::File cpan/Win32API-File/File.xs beb870fed4490d2faa547b4a8576b8d64d1d27c5
18-
podlators cpan/podlators/lib/Pod/Man.pm 69b80c16ed960c222ab6726cde177cf2949d366d
19-
podlators cpan/podlators/lib/Pod/ParseLink.pm e84ac4d8121c7ed733a23f5ead5c2481f34dafa3
20-
podlators cpan/podlators/lib/Pod/Text.pm 367a5ec329148637c83ddcf072f929ba1e9eb953
21-
podlators cpan/podlators/lib/Pod/Text/Color.pm f1401820e6799270bdd1b4513be9c849521fb533
22-
podlators cpan/podlators/lib/Pod/Text/Overstrike.pm 9def24cfb97743ac6d935fd84a86ae560e70c9ca
23-
podlators cpan/podlators/lib/Pod/Text/Termcap.pm b86e1cf3a01cc6084436ae61b2e97fcffe064817
18+
podlators cpan/podlators/lib/Pod/Man.pm 830bd4708c735e7ddfc3622c58f005ed68647357
19+
podlators cpan/podlators/lib/Pod/ParseLink.pm ed1b133f2abf739b1d7d480a9c0285a2b7441d6a
20+
podlators cpan/podlators/lib/Pod/Text.pm c454bab685ca35bccdcd8e87bc4a0922f6fc77f7
21+
podlators cpan/podlators/lib/Pod/Text/Color.pm 318662cdfdd07a95be82c3080106ed1d410e18e0
22+
podlators cpan/podlators/lib/Pod/Text/Overstrike.pm ac9e6c6483aa785a4cd9b0ded64130a52e5178c9
23+
podlators cpan/podlators/lib/Pod/Text/Termcap.pm dc5c03b6310febae555202480bdcf8877c16efa8
2424
version cpan/version/lib/version.pm 8080cfe1fb21d5248c8ff5133b298d249d11e8e8

0 commit comments

Comments
 (0)