[NBLUG/talk] Perl mod question - Cookies.pm

Rich Gibson rich at testingrange.com
Fri Jun 3 09:17:24 PDT 2005


You might take a look at the WWW::Mechanize module.  It makes it easy/ier 
to automate a lot of those tasks.

On Fri, 3 Jun 2005, Mark Street wrote:

>
> I am trying to program an automated perl script to interact with a remote
> website... ASP.NET with lots of javascript...messy stuff.  I first had to run
> a web scraping proxy server on the site, then converted the requests and
> responses to a perl script with a handy utility.
>
> The problem comes in when using the cookie_jar object.  The Cookie.pm perl
> module only handles Cookie and Cookie2 format.  The site I am interfacing
> with hands out Cookie3 format.  I tried hacking Cookie.pm and manually
> setting my headers in my requests in the perl script with properly formatted
> cookies  but I can only get so far into the site with the mixture of
> techniques.
>
> Any ideas on ways to handle Cookie3 format with perl's Cookie.pm?
>
>



More information about the talk mailing list