Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by Anonymous Monk
on May 04, 2021 at 08:30 UTC ( [id://11132010]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use WWW::Mechanize::Link;
    $u = WWW::Mechanize::Link->new 
    ...
    $u = WWW::Mechanize::Link->new 
      ({url=>'../page2', base=>'http://domain.com/page'});
    print $u->url_abs, "\n";
    
  2. or download this
    http://domain.com/page/page2
    http://domain.com/page2
    http://domain.com/page2
    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://11132010]
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: (4)
As of 2024-03-28 16:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found