From ac2e35340ede6b95a67435fa45e6a9ae3642c8f5 Mon Sep 17 00:00:00 2001 From: Stephen Nelson Date: Fri, 23 Aug 2013 07:53:14 -0700 Subject: [PATCH] Moved to OurPkgVersion for managing $VERSION strings --- Changes | 1 + bin/binhex.pl | 2 ++ bin/debinhex.pl | 2 ++ dist.ini | 4 +++- lib/Convert/BinHex.pm | 3 +-- 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Changes b/Changes index 32abbc5..2828b8c 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,7 @@ Revision history for Perl module Convert::BinHex 1.121 2013-08-23 - Changes file reformatted thanks to Neil Bowers (NEILB) + - Moved to Dist::Zilla's OurPkgVersion for keeping $VERSIONs in sync 1.120 2013-08-22 - First CPAN release by Stephen Nelson (STEPHEN), diff --git a/bin/binhex.pl b/bin/binhex.pl index 5b7f8d2..f7ed202 100644 --- a/bin/binhex.pl +++ b/bin/binhex.pl @@ -45,6 +45,8 @@ use File::Basename; use Carp; require Mac::Files if (($^O||'') eq "MacOS"); +# VERSION + use strict; use vars qw( $opt_o diff --git a/bin/debinhex.pl b/bin/debinhex.pl index c4c3497..1083880 100644 --- a/bin/debinhex.pl +++ b/bin/debinhex.pl @@ -38,6 +38,8 @@ S =cut +# VERSION + my $The_OS; BEGIN { $The_OS = $^O ? $^O : q// } eval { require Mac::Files } if ($The_OS eq "MacOS"); diff --git a/dist.ini b/dist.ini index 9d5097f..5a0a424 100644 --- a/dist.ini +++ b/dist.ini @@ -2,7 +2,7 @@ name = Convert-BinHex author = Eriq license = Perl_5 copyright_holder = Eriq -version = 1.120 +version = 1.121 [@Git] @@ -20,3 +20,5 @@ perl=5.6.0 repository.url = https://github.com/stephenenelson/convert-binhex repository.web = https://github.com/stephenenelson/convert-binhex repository.type = git + +[OurPkgVersion] \ No newline at end of file diff --git a/lib/Convert/BinHex.pm b/lib/Convert/BinHex.pm index a002d24..a195ee3 100644 --- a/lib/Convert/BinHex.pm +++ b/lib/Convert/BinHex.pm @@ -160,8 +160,7 @@ use FileHandle; -# The package version, both in 1.23 style *and* usable by MakeMaker: -$VERSION = '1.120'; +# VERSION # My identity: my $I = 'binhex:';