in reply to Re^3: Getting the value of cookies in cookies.txt file.
in thread Getting the value of cookies in cookies.txt file.

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 )?