about request route

风河 <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <1502104698.1926373.1065460240.52E83CEE@webmail.messagingengine.com>
Hi,

for this like request:
curl http://dns-api.org/AAAA/dns-api.org

in Dancer we could write:

get '/:type/:domain/?' => sub {

    my $rtype  = params->{ 'type' };
    my $domain = params->{ 'domain' };


But in a MP handler, how could we get the similiar result, treating
request path as GET/POST arguments?
thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.