diff options
author | Angelo Naselli <anaselli@linux.it> | 2015-07-17 00:10:43 +0200 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2015-07-17 00:10:43 +0200 |
commit | dc19ab63c4d356664d949d5bb84d735f7723c7ce (patch) | |
tree | aca1e27837e2406865443a95a023d8b30358fbae /extras/mana_mt | |
parent | 6a615882882db79df993a432a9b9a31e53ed8f79 (diff) | |
download | manatools-dc19ab63c4d356664d949d5bb84d735f7723c7ce.tar manatools-dc19ab63c4d356664d949d5bb84d735f7723c7ce.tar.gz manatools-dc19ab63c4d356664d949d5bb84d735f7723c7ce.tar.bz2 manatools-dc19ab63c4d356664d949d5bb84d735f7723c7ce.tar.xz manatools-dc19ab63c4d356664d949d5bb84d735f7723c7ce.zip |
Added a module template and its script
Diffstat (limited to 'extras/mana_mt')
-rwxr-xr-x | extras/mana_mt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/extras/mana_mt b/extras/mana_mt new file mode 100755 index 00000000..baeac122 --- /dev/null +++ b/extras/mana_mt @@ -0,0 +1,35 @@ +#!/usr/bin/perl +# vim: set et ts=4 sw=4: +# Copyright 2015 Angelo Naselli +# +# This file is part of manatools +# and it is a script to test the module template +# +# mana_mt is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# mana_mt is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with ManaTools. If not, see <http://www.gnu.org/licenses/>. + +#Run as "perl -I$PWD mana_mt" to find the module here + +# Use the right name space simplified for testing +#use ManaTools::Module::ModuleTemplate; +use ModuleTemplate; + +use yui; + + +my $mt = ModuleTemplate->new({ +}); + +$mt->start(); + +1; |