You can use HTTP::SimpleLinkChecker under the same terms as Perl itself.