Nathan I'm not clear whether you're getting </html> or not. Try dumping the returned value with $response->as_string to see exactly what you're getting. Also examine $response->status_line to check for anything other than a success.
HTH, Rob ----- Original Message ----- From: "Agrin, Nathan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 25, 2002 6:57 PM Subject: lwp and content() responses > i'm writing a small script to submit information to a 'BLAST' server, which > searches a database for genetic matches to DNA sequences. the way the > process works is you input a DNA or protein sequence, ask the server to > search and it returns a search id# and an estimated time of completion. > once this time is up, the webpage reloads and usually, the server has > underestimated the time it needed to preform the search so it asks you to > wait again. once you are done waiting it returns its results. > > currently, my script is capable of submitting the sequence using the blast > api, storing the id# and estimated time of completion in two different > variables, and waiting the alotted amount of time. When the script > resubmits the id# to get the results, the page that is returned is chopped > off before the </html> tag, however, which is bad because directly after it > is a comment which states whether the blast server is still waiting for the > results or if the results are ready. i need this info to write an if > argument in perl. > > so long story short, does lwp not return anything after the </html> tag or > has anyone run into a similar problem? > > thanks > nate > > > > >
