The function of RM-- route.pl is to issue an HTTP request, get the requested document from a remote server, save the document to the cache file if requested by the user, and then translate all hyperlinks contained within the document, except for multimedia hyperlinks.