CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: mod_perl:
Extract Base URL

 



mohanbvn
New User

Dec 27, 2010, 1:34 AM

Post #1 of 2 (17904 views)
Extract Base URL Can't Post

Hi,

I am new to perl module, please guide me how to get the main base url address from the sub page url address

Example : Sub page "http://www.example.com/aboutus"
Output : "http://ww.example.com.

Guide me please, thanks in advance.

Regards,
mohanbvn.


FishMonger
Veteran / Moderator

Dec 27, 2010, 7:32 AM

Post #2 of 2 (17897 views)
Re: [mohanbvn] Extract Base URL [In reply to] Can't Post

See: http://search.cpan.org/~gaas/URI-1.56/URI.pm

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives