From 9e578edf7b00ea0c45aef8fce08387ba65ff2803 Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Wed, 30 Dec 2015 22:54:46 +0100 Subject: Module implements the Version Role, modules now has the version from manatools, overriding it if they need --- extras/module_templete/ManaTools/Module/ModuleTemplate.pm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'extras') 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', -- cgit v1.2.1