Update on ARS2.0 – Modulehandler

So, I finally got to finish down some important sections on the ARS2 code. I rewrote some of the way that we’re handling modules and removed the install script from the tar.gz package that you try to install. This is replaced with the install() function inside the main module itself.

This leaves my test module to look something like this:

package ARS2::modules::test;
use base("ARS2::Module");

sub install{
	print "Testing installscript\n";
		return 1;
	}
1;

The plan here is that it gets both the constructor and the cleanup method from its base class ARS2::Module overriding the install method with its own cool thing. Now to see if it works in real life :)

On the other side, I hate when I get a song in my fingers while I’m playing the
guitar without knowing which it is.
For those of you that don’t play any kind of instrument, it’s like like having a song in your head times 1000.
(it was “Wish you were here” with Pink Floyd)

Have fun,
Kenneth

  1. No comments yet.

  1. No trackbacks yet.