I think you might use LWP, or LWP::Simple to grab the site to a scalar $webcrawler var by using 'get', altough it is not necessary since WWW::Mechanize provides a get methot for the $webcrawler object you already have. That can be invoked by using $webcrawler->get($url_name).
Wow, that was a daft mistake...Anyway,thanks to everyone getting back to me in replies to my questions, this script is the first time i have used Perl and you lot are making my life a lot easier...Thanks!