Have a look at CGI::Application::Dispatch. It works pretty much exactly like you describe. It can be used as a mod_perl handler if you use mod_perl, or it can be used in a simple CGI script if you don't use mod_perl.
As for the three questions at the bottom:
will URLs like www.site.com/index.pl/admin/members/ call that index.pl in root where I will be able to extract the rest of path
Yes
if previous is yes, will post/get work (www.site.com/index.pl/admin/members/?run_mode=something)
Yes
How would all this URLs work with mod_perl - as if it works out with this project I might use same/similar for web sites based on CGI:App.
It will work exactly the same under mod_perl, although you can hook the handler in a location that doesn't have a file extension, so you could have www.site.com/myapp/admin/members?param=1. That makes for nicer looking URLs
In reply to Re: CGI::Application for complex web applications?
by cees
in thread CGI::Application for complex web applications?
by techcode
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |