Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
how to get URL?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Renato Forti  
View profile  
 More options Oct 13 2012, 2:06 pm
From: Renato Forti <rtfo...@gmail.com>
Date: Sat, 13 Oct 2012 11:06:21 -0700 (PDT)
Local: Sat, Oct 13 2012 2:06 pm
Subject: how to get URL?

Hi All,

Have any way to get a URL (full and part of it), for sample, if I have this
url:

https://www.doksafe.com/system/build?pid=PDx00002&token=17722a8d-02ec...

If I want get: https, doksafe.com and so on?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
s@bykov.odessa.ua  
View profile  
 More options Oct 13 2012, 2:57 pm
From: "s...@bykov.odessa.ua" <s...@bykov.odessa.ua>
Date: Sat, 13 Oct 2012 21:57:35 +0300
Local: Sat, Oct 13 2012 2:57 pm
Subject: Re: [Mojolicious] how to get URL?

Do you mean this?

use Mojo::URL;
my $url = Mojo::URL->new('https://foo.bar/baz?popa');
say $url->scheme;
say $url->host;


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Renato Forti  
View profile  
 More options Oct 14 2012, 10:04 am
From: Renato Forti <rtfo...@gmail.com>
Date: Sun, 14 Oct 2012 07:04:37 -0700 (PDT)
Local: Sun, Oct 14 2012 10:04 am
Subject: Re: [Mojolicious] how to get URL?

Yes, but I want get the addr that browser is!
For sample, if user is on : https://www.dok.com/home

I want:

use Mojo::URL;
my $url = Mojo::URL->new(addres from browser  window!);

Thanks alo for help!

Em sábado, 13 de outubro de 2012 15h57min39s UTC-3, alexbyk escreveu:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robert Stockdale  
View profile  
 More options Nov 1 2012, 1:13 am
From: Robert Stockdale <robert.stockd...@gmail.com>
Date: Thu, 1 Nov 2012 01:13:42 -0400
Local: Thurs, Nov 1 2012 1:13 am
Subject: Re: [Mojolicious] how to get URL?

You're looking for:

        http://mojolicio.us/perldoc/Mojolicious/Controller#req
        http://mojolicio.us/perldoc/Mojo::Message::Request#url

        my $url = $self->req->url;

-Bob

On Oct 13, 2012, at 2:06 PM, Renato Forti <rtfo...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Renato Forti  
View profile  
 More options Nov 3 2012, 1:34 pm
From: Renato Forti <rtfo...@gmail.com>
Date: Sat, 3 Nov 2012 10:34:00 -0700 (PDT)
Subject: Re: [Mojolicious] how to get URL?

Yes!!! :0) tks...

Em quinta-feira, 1 de novembro de 2012 03h13min45s UTC-2, stocks escreveu:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »