in reply to curl-generated HttpOnly cookies and HTTP::Cookies::Netscape

There doesn't seem to be a HTTP::Cookies::Curl or I would suggest that.

As robby_dobby suggested, you can try using WWW::Curl or other Curl CPAN module.

HTTP::Cookies::Guess might work, and there are several other HTTP::Cookies:: modules in CPAN.

Looking at the base class, HTTP::Cookies, it appears to only accept a file name for the source of cookies to load. If it would accept a string, an array or even a filehandle, you could prefilter the text as it is read.

It would, however, be possible to prefilter the cookie jar by using a temporary file.