Is it possible? I get all sorts of errors saving a XML::LibXML::Element to cache. I get similar when I try using storable on it first. Version of XML::LibXML is 1.57 iirc. I am unable to upgrade because it will break my Axkit 1 set up. (If it makes a difference.)
Below is the code that breaks, if someone could confirm it for me please? #! /usr/bin/perl -w use strict; use diagnostics; use XML::LibXML; use Storable qw( freeze thaw ); use Data::Dumper; use Devel::Peek; my $node = XML::LibXML::Element->new('foobar'); #my $serial = freeze \$node; #my $a = thaw($serial); #print Dump($a); #print Dumper($a); use Cache::MemoryCache; my $cache = new Cache::MemoryCache( { 'default_expires_in' => 600 } ); $cache->set('fred', $node); my $a = $cache->get('fred'); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]