in reply to Re^5: libwww-perl basics
in thread libwww-perl basics

That works (thank you), although (somewhat oddly) all of the cookies (multiple headers with the same field name) are run together.
for my $header ($response->headers->header_field_names) { print $header, ": ", $response->header($header), "\n"; }
That produces:
[...] Set-Cookie: cookiea; expires=[time]; path=/; domain=.example.comcookie +b expires=[time]; path=/; domain=.example.comcookiec expires=[time]; +path=/; domain=.example.com; HttpOnly [...]
I can live with that for now.