title: How can I keep WWW::Mechanize from following redirects?
body: <p>I have a Perl script that uses <a href="http://search.cpan.org/dist/WWW-Mechanize" rel="noreferrer">WWW::Mechanize</a> to read from a file and perform some automated tasks on a website.  However, the website uses a 302 redirect after every time I request a certain page.  I don't want to be redirected (the page that it redirects to takes too long to respond); I just want to loop through the file and call the first link over and over.  I can't figure out how to make WWW::Mechanize NOT follow redirects.  Any suggestions?</p>