aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extras/module_templete/ManaTools/Module/ModuleTemplate.pm8
-rw-r--r--lib/ManaTools/Module.pm10
2 files changed, 7 insertions, 11 deletions
diff --git a/extras/module_templete/ManaTools/Module/ModuleTemplate.pm b/extras/module_templete/ManaTools/Module/ModuleTemplate.pm
index b723893e..1be9d9b0 100644
--- a/extras/module_templete/ManaTools/Module/ModuleTemplate.pm
+++ b/extras/module_templete/ManaTools/Module/ModuleTemplate.pm
@@ -51,12 +51,14 @@ sub _nameInitializer {
=head1 VERSION
-Version 0.0.1
+ Module implements Version Role so if you want to have your own versioning
+ override Version attributes e.g. using
+ has '+Version' => (
+ default => "X.Y.Z"
+ );
=cut
-our $VERSION = '0.0.1';
-
# sh_gui to use Shared/GUI object
has 'sh_gui' => (
is => 'rw',
diff --git a/lib/ManaTools/Module.pm b/lib/ManaTools/Module.pm
index 8fbbb759..c655cc85 100644
--- a/lib/ManaTools/Module.pm
+++ b/lib/ManaTools/Module.pm
@@ -23,19 +23,13 @@
package ManaTools::Module;
use Moose;
+with 'ManaTools::Version';
+
use ManaTools::Shared;
use ManaTools::Shared::Locales;
use ManaTools::Shared::Logging;
use ManaTools::Shared::GUI::CommandLine;
-=head1 VERSION
-
-Version 1.0.1
-
-=cut
-
-our $VERSION = '1.0.1';
-
use yui;
#=============================================================