<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class=""><span style="font-family: Georgia; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">LWP::Simple & LWP::Useragent returned the page, but the pages are fairly dense with a lot of embedded javascript, embedded forms and ads the are being served up. All of which I don't need. It's just taking a lot of time and memory. I was just looking for something that would just give me a 404 or 200 or stop reading at the some place like the end of the /head tag. I'm trying to test out thousands of URLs which is the real problem. (This may not be possible.)</span><br style="font-family: Georgia; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote></div><div class=""><br class=""></div><div class="">You can use the LWP::Simple head() function like David said, but head() vs. get() is all-or-nothing.  There’s no way to say “Give me the page up to the and of the <head> tag”.</div><div class=""><br class=""></div><div class="">I’m curious as to how these pages are taking a lot of memory.  You’re not storing them, are you?  What memory problems are you running into?</div><div class=""><br class=""></div><div class="">What’s the problem that you’re actually trying to solve?  Is it taking too long to do those 1000 URL checks?  How long is it taking, and how long would you like it to take?</div><br class=""><div apple-content-edited="true" class="">
--<br class="">Andy Lester => <a href="http://www.petdance.com" class="">www.petdance.com</a>

</div>
<br class=""></body></html>