The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::Mechanize::Plugin::DOM::Location - Location object for the DOM plugin

VERSION

Version 0.014

THIS MODULE IS DEPRECATED. Please use WWW::Scripter instead.

METHODS

hash
host
hostname
href
pathname
port
protocol

Each of these returns or sets the corresponding part of the URI. (Actually, href refers to the whole thing, not just a part.) If you set one of these, it tells the Mech object to go to another page.

reload

Does what it says.

replace ( $new_uri )

Replaces the current page in Mech's history with $new_uri, which it tells Mech to go and fetch.

Bug: This doesn't work properly on the first page. It simply adds to history.

SEE ALSO

-

WWW::Mechanize

-

WWW::Mechanize::Plugin::DOM

-

WWW::Mechanize::Plugin::DOM::Window