Cody Pendant has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to use WWW::Automate to log into an ASP application and do some work.

I get logged in, then try to go to the URL/follow the link of the actual page where the work will be done, and I get this in the content:

<head><title>Object moved</title></head> <body><h1>Object Moved</h1>This object may be found <a HREF="">here</a +>.</body>

Obviously there's some kind of redirect/HTTP Location header thing happening, and WWW::Auto isn't following it? Any idea how to overcome this?



($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss')
=~y~b-v~a-z~s; print

Replies are listed 'Best First'.
Re: WWW::Automate and ASP server
by PodMaster (Abbot) on Sep 16, 2004 at 06:56 UTC
    1. WWW::Automate's successor is WWW::Mechanize
    2. ... Any idea how to overcome this?
      See #1. See LWP::Debug. Learn HTTP :)

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.