As Anonymous Monk and kcott have said, the requirements are unclear.
A guess: You need to discover which links are broken, and want to automate the discovery process using Perl. In that case, the 2009 thread Detect Broken links should help.
Athanasius <°(((>< contra mundum
In reply to Re: Find & Delete by comparing two files
by Athanasius
in thread Find & Delete by comparing two files
by perlpoda
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |