Thanks for the reply, I always thought that Dumper is used for debugging
pu=
rposes, I will look at it deeper. Btw, what you mean by cyclic data
?=0A=0A=
=0A=0A----- Original Message ----=0AFrom: Chas. Owens
<chas.owens@[EMAIL PROTECTED]
>=0ATo: anthony brooke <esia168@[EMAIL PROTECTED]
>=0ACc: beginner perl mailling
lis=
t <beginners@[EMAIL PROTECTED]
>=0ASent: Monday, April 7, 2008 2:09:0-1=0ASubject:
Re=
: Perl Serialize object as string=0A=0AOn Sun, Apr 6, 2008 at 1:52 PM,
anth=
ony brooke <esia168@[EMAIL PROTECTED]
> wrote:=0A> Hello everyone, I need to
seriali=
ze an perl object to STRING TEXT,=0A> not scalar or file. The Storable
modu=
le allow serialization to file and=0A> scalar variable, but this is not
pos=
sible for passing between the perl=0A> and prolog program, that's why I
nee=
d it to be string. I tried out the=0A> FreezeThaw module but it couldn't
se=
rialize object successfully, or=0A> have ever done it ? Thanks.=0A=0AIf
you=
don't have cyclic data you can use Data::Dumper*, but I would=0Asuggest
lo=
oking at YAML::Syck* instead.=0A=0A*
http://perldoc.perl.org/Data/Dumper.ht=
ml=0A** http://search.cpan.org/dist/YAML-Syck/lib/YAML/Syck.pm=0A=0A--
=0AC=
has. Owens=0Awonkden.net=0AThe most im****tant skill a programmer can have
i=
s the ability to read.=0A=0A=0ASend instant messages to your online
friends=
http://uk.messenger.yahoo.com


|