Moved to OurPkgVersion for managing $VERSION strings

This commit is contained in:
Stephen Nelson 2013-08-23 07:53:14 -07:00
parent efa6c2fdaf
commit ac2e35340e
5 changed files with 9 additions and 3 deletions

View File

@ -2,6 +2,7 @@ Revision history for Perl module Convert::BinHex
1.121 2013-08-23 1.121 2013-08-23
- Changes file reformatted thanks to Neil Bowers (NEILB) - Changes file reformatted thanks to Neil Bowers (NEILB)
- Moved to Dist::Zilla's OurPkgVersion for keeping $VERSIONs in sync
1.120 2013-08-22 1.120 2013-08-22
- First CPAN release by Stephen Nelson (STEPHEN), - First CPAN release by Stephen Nelson (STEPHEN),

View File

@ -45,6 +45,8 @@ use File::Basename;
use Carp; use Carp;
require Mac::Files if (($^O||'') eq "MacOS"); require Mac::Files if (($^O||'') eq "MacOS");
# VERSION
use strict; use strict;
use vars qw( use vars qw(
$opt_o $opt_o

View File

@ -38,6 +38,8 @@ S
=cut =cut
# VERSION
my $The_OS; my $The_OS;
BEGIN { $The_OS = $^O ? $^O : q// } BEGIN { $The_OS = $^O ? $^O : q// }
eval { require Mac::Files } if ($The_OS eq "MacOS"); eval { require Mac::Files } if ($The_OS eq "MacOS");

View File

@ -2,7 +2,7 @@ name = Convert-BinHex
author = Eriq <eryq@zeegee.com> author = Eriq <eryq@zeegee.com>
license = Perl_5 license = Perl_5
copyright_holder = Eriq <eryq@zeegee.com> copyright_holder = Eriq <eryq@zeegee.com>
version = 1.120 version = 1.121
[@Git] [@Git]
@ -20,3 +20,5 @@ perl=5.6.0
repository.url = https://github.com/stephenenelson/convert-binhex repository.url = https://github.com/stephenenelson/convert-binhex
repository.web = https://github.com/stephenenelson/convert-binhex repository.web = https://github.com/stephenenelson/convert-binhex
repository.type = git repository.type = git
[OurPkgVersion]

View File

@ -160,8 +160,7 @@ use FileHandle;
# The package version, both in 1.23 style *and* usable by MakeMaker: # VERSION
$VERSION = '1.120';
# My identity: # My identity:
my $I = 'binhex:'; my $I = 'binhex:';