add skeleton Makefile.PL and VERSION
Matt S Trout [Mon, 23 Jan 2012 17:14:48 +0000 (17:14 +0000)]
Makefile.PL [new file with mode: 0644]
lib/Package/Variant.pm

diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644 (file)
index 0000000..5227b9b
--- /dev/null
@@ -0,0 +1,12 @@
+use strict;
+use warnings FATAL => 'all';
+use ExtUtils::MakeMaker;
+
+WriteMakefile(
+  NAME => 'Package-Variant',
+  VERSION_FROM => 'lib/Package/Variant.pm',
+  PREREQ_PM => {
+    strictures => 1,
+    Carp => 0,
+  },
+);
index c8ccac3..55dd25c 100644 (file)
@@ -3,6 +3,10 @@ package Package::Variant;
 use strictures 1;
 use Carp qw( croak );
 
+our $VERSION = '1.000000'; # 1.0.0
+
+$VERSION = eval $VERSION;
+
 our %Variable;
 
 my $sanitize_importing = sub {