in reply to HTTP::Request -Variable values not translating in URL
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;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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: HTTP::Request -Variable values not translating in URL
by Tonyd5915 (Initiate) on Dec 12, 2013 at 22:28 UTC | |
by Anonymous Monk on Dec 13, 2013 at 02:55 UTC |