It's not clear why you added the tilde and the angle brackets to the values assigned to @CHECK, but the script runs better if you change
@CHECK = # list of initial starting points qw(~http://www.sun.com/ <http://www.sun.com/>);
to:
@CHECK = # list of initial starting points qw(http://www.sun.com/);
Also, you made a mistake in typing the line near the bottom that you have as:    $request = HTTP::Request ($method,$thisurl); It should read:    $request = new HTTP::Request ($method,$thisurl); You will also need to adjust the values in sub PARSE to properly screen for the range of URLs you are interested in. The script you have at present checks for pages at www.sun.com that satisfy a regex in sub PARSE that is screening for pages in Merlyn's site. Since there are no pages that satisfy both conditions, the script finishes up rather quickly.

For those interested in pursing this further, here is the listing and the column that discusses it.

Update: Hi, Merlyn!
 


In reply to Re: Merlyns Web Link checker by dvergin
in thread Merlyns Web Link checker by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.