http://www.perlmonks.org?node_id=11132405


in reply to Saving HTTP::Cookies into Netscape format using bless/re-bless

You might could use Storable (or whatever your favourite deep clone module is) to get a full copy of your source instance and then instead re-bless that copy into the Netscape class (and then you could toss that clone when done). That might ensure that you're (probably) completely divested from your other instance.

The cake is a lie.
The cake is a lie.
The cake is a lie.