Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: WWW::Mechanize doesn't respect <base>?

by haj (Vicar)
on Apr 26, 2021 at 10:24 UTC ( [id://11131726]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use 5.020;
    use strict;
    use URI::URL;
    my $uri = URI::URL->new('page2','http://domain.com/page');
    say "base is", $uri->base, "absolute link is", $uri->abs;
    
  2. or download this
    base is: http://domain.com/page
    absolute link is: http://domain.com/page2
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11131726]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-19 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found