In article <[EMAIL PROTECTED]>,
Rocco Caputo <[EMAIL PROTECTED]> wrote:
>Sessions will stop if all they watch are signals. Having an alias,
i have read that
> $_[KERNEL]->alias_set("signal_watcher");
uhm mine is a bit different, but it works for the framework:
sub _start
{
my ($kernel, $session) = @_[KERNEL, SESSION];
$kernel->alias_set( 'testmod' );
$kernel->post( 'testmod', 'register', 'all');
print "\nstarting module\n";
}# sub _start�
took it from some example code in the docu
>If it's really a base class, you probably should inherit from it. It
>really depends on your program's design.
you have somewhere an example?
besides i forgot to mention that framwork and module are in separated
files and the module include at run time by an eval'ed use
statement.....
so i was wondering if they both use the same kernel.....
as far as i can tell now, it seems not, can i enfore them to use the
same kernel?
--
ciao bboett
==============================================================
[EMAIL PROTECTED]
http://inforezo.u-strasbg.fr/~bboett