On Mon, Apr 08, 2002 at 08:32:58PM -0700, William R Ward wrote: > [EMAIL PROTECTED] (Brian D Foy) writes: > > On Mon, 8 Apr 2002 [EMAIL PROTECTED] wrote: > > > > > There's already a Porting/checkURL.pl tool in the standard distribution. > > > Do we need a separate one for the faq? > > > > or a better one for the FAQ, which lives in a different place. > > > > problems with the perlfaq: > > for some reasons the repository with which i and others work > > is not in the standard distribution repository, so when i > > check out the perlfaq module, i don't get any tools with it. > > > > problems with checkURL.pl > > + it's not in 5.6.1, so i didn't know about it (but now i do :) > > + it hard codes the files to check, and checks all of them > > + downloads each resource every time (bad for slow connections > > i get in hotels) > > + only checks the root path for a domain, not the URL path. > > i think someone need to fix the regex, or explain why it is > > the way that it is. > > > > what i want to do: > > + check only the files i specify > > + check the full URL > > + run without output in some cases (like in make, where i want it > > to just fail if i do something like `make checkurlquiet`) > > Then why not patch checkURL.pl to include your changes? Seems silly > to have two separate scripts that do basically the same thing.
checkURL.pl was written for the sole purpose of checking the URLs in the core distribution. Yes, a large part of the URLs are in the FAQs, and it certainly could use some fixing... but I still would like to honor the KISS principle. Furthermore, checking URLs *once* is a bit silly. There are transient networking problems all the time, and some the URLs are not meant for worldwide consumption, such as some of the CPAN mirrors (they are own-TLD-only). > I don't think it should be stored with the FAQ, BTW: I think it should > be stored in the CPAN scripts archive! > > --Bill. > > -- > William R Ward [EMAIL PROTECTED] http://www.wards.net/~bill/ > ----------------------------------------------------------------------------- > If you're not part of the solution, you're part of the precipitate. -- $jhi++; # http://www.iki.fi/jhi/ # There is this special biologist word we use for 'stable'. # It is 'dead'. -- Jack Cohen
