For example, if the "site" that I'm interested in is http://www.comp.leeds.ac.uk/Perl/, and my script encounters the URL http://www.comp.leeds.ac.uk/Perl/filehandling.html, is there some method that returns a true value signifying that the URL is part of the site? I regular expression seems to be the way to go, but I'd guess that someone has already done this and published a module that handles the tricky stuff, such as case and whatever else I haven't yet thought about.
In reply to Using URI::URL to determine resources within a site by sutch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |