This page shows 2 scripts to validate html local file links (i.e. check file existence of local links). One written in perl, one in elisp.
The 2 script's algorithms are not artificially made to be the same, but follow the natural style/idiom for each lang. They do the same job for my need.
lots code. See here instead: http://xahlee.org/emacs/elisp_vs_perl_validate_links.html