in reply to Getting the value of cookies in cookies.txt file.
Just scan over the cookies in the object! HTTP::Cookies
$bot->cookie_jar->scan(sub { print "Cookie key ", $_[1], "\n" }) [download]
Cookie key at-main Cookie key sess-at-main Cookie key session-id Cookie key session-id-time Cookie key session-token Cookie key ubid-main Cookie key x-main [download]
Okay. I guess i figured it out. I had to replace 1 with 2. But do you have any idea how to store the response into a string.
use assignment ( $foo = ...; see perlintro )?
0 1 2 3 4 5 6 7
Results (657 votes), past polls