Mechanize Redirect

2008-08-09 Thread Merdinus
Have seen this issue addressed on this board in the past, but can't figure out exactly what I need to do. I'm using WWW::Mechanize and a webpage seems to be redirecting me but Mechanize doesn't seem to follow it. I've heard to "Add the header 'Accept: text/html'" but alas I don't know how to add

Re: Mechanize Redirect

2008-08-09 Thread Merdinus
On Aug 9, 9:30 am, [EMAIL PROTECTED] (Rob Dixon) wrote: > Merdinus wrote: > > > Have seen this issue addressed on this board in the past, but can't > > figure out exactly what I need to do. > > > I'm using WWW::Mechanize and a webpage seems to be redirecting

Re: Mechanize Redirect

2008-08-11 Thread Merdinus
On Aug 10, 8:27 am, [EMAIL PROTECTED] (Rob Dixon) wrote: > Merdinus wrote: > > > The webpage is at:  http://patft.uspto.gov/netahtml/PTO/srchnum.htm > > The submit form is submitting all the hidden variables in the webpage > > as well as a 7 digit number for a patent (

Unmatched [ in regex; marked by <--- HERE .........

2008-08-18 Thread Merdinus
The command that's causing this error is: my @refs = split('[', $references); I also tried >>> my @refs = split("[", $references); <<< (doublle quotes instead) and got the same error. If I change it to my @refs = split("asdfsdfas", $references); then I get no such error. The