I am just coming up to speed on this one. I am wondering if I am reading the pod right.Am I replacing "use base 'CGI::Application'" with "use base 'CGI::Application::Dispatch'"?
Then if my module name is "package Abrams" I would build a dispatch table for my runmodes:
sub dispatch_ars {
return {
prefix => 'Abrams',
table => [
'' => { app => 'Welcome', rm => 'start' },
'' => { app => 'Contacts', rm => 'contacts' },
':app/:rm' => {},
],
};
}
Now I am using CAP::AutoRunmode currently and I have:
sub start : StartRunmode {}
sub contact : Runmode {}
Is that pretty much it?
Robert
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.