[cgiapp] CAP::Forward to other packages
idontlikespam at turboprinz.de
idontlikespam at turboprinz.de
Sun Jan 18 16:43:20 EST 2009
Hi all!
Can I forward to runmodes in other modules? Imagine the two modules A and A::B, can I forward from A::B::some_runmode to A::some_other_runmode?
I would need this in context of formvalidation. So this would be, what I had in mind:
[code]
package A::B;
use base qw/A/;
sub some_runmode {
my $self = shift;
my $results = $self->check_rm('A::some_other_runmode','_form_profile') || return $self->check_rm_error_page();
}
[/code]
Best regards, Alex
--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
More information about the cgiapp
mailing list