See the ->head method of LWP::UserAgent. The Content-Type header of the response should tell you what content the page sends back.
In reply to Re: LWP::Simple to judge the url
by Corion
in thread LWP::Simple to judge the url
by sarvan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |