I have a script in mind that will help me keep track of some of my links on my web page. I know how to do just about everything I am after. Only one problem. I need a little part of the script to test the URL I give it and tell me "GOOD" or "BAD".
For example, I could call a subroutine $good=&Test_URL("http:://www.test.com
") and $good would contain 0 if the site responds with a 404 error, and 1 if anything else is returned.
Can you help with this subroutine please?