in reply to POST question ( . vs _)

You might be getting a response that LWP considers illegal, like a redirect from a POST request. Why don't you dump the full contents of the response object and see what you got?

Replies are listed 'Best First'.
Re^2: POST question ( . vs _)
by Anonymous Monk on Mar 28, 2006 at 04:47 UTC
    Okay, I print out status_line and I get "302 Found". I guess I don't get he redirection page. I'm going to go out on a limb and say that the problem is that I'm running this script w/o a referring page. Nothing to prove that other than a hunch. Don't suppose there's a way around that one, is there?
Re^2: POST question ( . vs _)
by Anonymous Monk on Mar 28, 2006 at 06:02 UTC
    Dang... even if I pass it a valid username and password w/ in POST, it knows I'm not logged in. Gonna have to study up a bit.
      If you are able to use it from a browser, just look at the headers using a logging proxy or the Firefox LiveHTTPHeaders extension. It's probably looking for a cookie or a referer header.