B
Bing Du
Greetings,
How can I test if a web page (e.g. http://www.cpan.org) works or not in
a Perl script? If it returns normal contents, it's working fine. If it
gives errors (500, etc.), then it has some problems. The results are
obvious in browser. Just wondering how to do that outside of web browsers.
Thanks in advance for any help,
Bing
How can I test if a web page (e.g. http://www.cpan.org) works or not in
a Perl script? If it returns normal contents, it's working fine. If it
gives errors (500, etc.), then it has some problems. The results are
obvious in browser. Just wondering how to do that outside of web browsers.
Thanks in advance for any help,
Bing