http://qs321.pair.com?node_id=443523


in reply to how do I learn about Perl CGI programming?

I'm not sure that everyone else is following what you're talking about but it may be me so apologies if so.

You can access the query string with $cgi_object->self_url(), split it on the forward-slash into an array, shift off the sections and get your script to respond based on what they contain. An example of this procedure can be found in the source of Maypole (look at the parse_path() method.

If, for whatever reason, you just want to set up a simple web app that works this way to see how you get on, you might find CGI::Application::Dispatch useful; it loads CGI::Application modules and runs their so-called `run-modes' according to the path in the query string.


MB