A while back, I had to write a script that crawled a site which distributed a file through a flash application. I noticed that the cookie was always contained in the url and followed a specific pattern. Thanks to PerlMonks, I was able to figure that out. Firstly, I used WWW::Mechanize::Firefox.. you may need to in this case, too- I'm not sure. Anyways I start with something like:
use strict; use warnings; use WWW::Mechanize::Firefox; use Data::Dumper; use DateTime; ## you can set the date to nearly anything with this module, refer to +its documentation my $mech = WWW::Mechanize::Firefox->new(launch => 'C:\path\to\your\firefox.exe', autoclose => 1, autodie => 1 ); my $jar = $mech->cookies(); print Dumper($jar); # for debugging, you need to understand the data s +tructure of this cookie to properly use it
Alternatively, you may not need to use the cookies at all. But since it is not completely clear to me what your goal is with this script, I can't say for certain. Briefly looking at your url, you may be able to use just plain old WWW::Mechanize and then $mech->dump_text;

In reply to Re: HTTP::Request -Variable values not translating in URL by PerlSufi
in thread HTTP::Request -Variable values not translating in URL by Tonyd5915

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.