***************************************** use WWW::Robot; #Module used to strip the contents from the HTML(leave only the text) print "Please input the URL of the site to be searched \n"; $url_name = ; # The user inputs the URL to be searched #Create an instance of the webcrawler $web_crawler = new WWW::Robot('NAME' => 'My WebCrawler', 'VERSION' => '1.000', 'EMAIL' => 'email@email'); #Below the attributes of the web crawler are set $web_crawler->addHook('invoke-on-all-url', \&invoke_test); ************************************