|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: how do I learn about Perl CGI programming?by matthewb (Curate) |
| on Mar 30, 2005 at 10:48 UTC ( [id://443523]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||