libwww-perl / HTTP-Cookies

Objects that represent a "cookie jar"
https://metacpan.org/pod/HTTP::Cookies
Other
4 stars 17 forks source link

suggest from_string() method #50

Open kryde opened 7 years ago

kryde commented 7 years ago

As an idea for a feature, it'd be good to have a from_string() method as an inverse of as_string(). If I'm not mistaken it would be more or less the guts of load(), sans header. I struck this wanting a bit of stringify / unstringify to hold cookies in a database record rather than a file.