Hi Benjamin --
> As you can see, there' nothing unusual, here, just, that the run mode
> sub
> is not from the local package but from the inherited 'i3'.
To make this work, specify your run-modes using method names instead of
sub-refs. This will allow you to inherit run-mode methods from your custom
parent class, "i3":
sub setup {
my $self = shift;
$self->start_mode('prj_news');
$self->mode_param('action');
$self->run_modes(
'login' => 'login',
'logout' => 'logout',
'prj_help' => 'prj_help',
'prj_news' => 'prj_news'
);
Make sense?
-Jesse-
--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Jesse Erlbaum ....................... CTO
[EMAIL PROTECTED] ............. Vanguard Media
v: 212.242.5317 x115 ...... New York City
+-+-+-+-+-+- http://www.vm.com/ +-+-+-+-+-+-+
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]