in reply to WWW::Mechanize form

rtfm
print $mech->uri();