When I try to use the follow_link method in mech like this...
$m->follow_link( url_regex => qr/contact/i);
...after having fetched a page using $m->get($url), if the link is only a relevant link (contact.html instead of http://www.somesite/contact.html), instead of prepending the http://www.somesite/ part to the rest of the URL I want it to follow, it prepends the directory on my hard drive that I'm running the perl script from. (c:\myworkdirectory\). How do I correctly use $m->follow-link? Thanks!