aboutsummaryrefslogtreecommitdiffstats
path: root/extras/module_templete
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2015-12-30 22:54:46 +0100
committerAngelo Naselli <anaselli@linux.it>2015-12-30 22:54:46 +0100
commit9e578edf7b00ea0c45aef8fce08387ba65ff2803 (patch)
treedc8243017b7d417109503a5c83f503f39e5781cf /extras/module_templete
parentc203abb37e9c2f8f2c34f994471dcb5d2bd24c44 (diff)
downloadmanatools-9e578edf7b00ea0c45aef8fce08387ba65ff2803.tar
manatools-9e578edf7b00ea0c45aef8fce08387ba65ff2803.tar.gz
manatools-9e578edf7b00ea0c45aef8fce08387ba65ff2803.tar.bz2
manatools-9e578edf7b00ea0c45aef8fce08387ba65ff2803.tar.xz
manatools-9e578edf7b00ea0c45aef8fce08387ba65ff2803.zip
Module implements the Version Role, modules now has the version from
manatools, overriding it if they need
Diffstat (limited to 'extras/module_templete')
-rw-r--r--extras/module_templete/ManaTools/Module/ModuleTemplate.pm8
1 files changed, 5 insertions, 3 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',