dear M experts---where do I find out what decomposition function M already 
provides?

     $self->req->url->to_abs->host

has the full URL request, such as 
http://l4.l3.mysite.tld:3000/abc/def?x=123&y=456 .  I can write my own 
functions to decompose it, but some already exist in M, such 
as $c->req->url (for /abc/def?x=123&456).  are there others?  extracting 
l4.l3 (when localhost, presumably l4.l3.localhost:3000), 3000, 
l4.l3.mysite.tld, etc.

I looked at the http://mojolicious.org/perldoc/Mojo/URL , but I probably do 
not understand how to read this.  I tried to dumper $self->req->url, but it 
does not list all defined functions.

pointers appreciated.  

regards,

/ivo

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to