Re: Perl Serialize object as string

2008-04-06 Thread Chas. Owens
On Sun, Apr 6, 2008 at 6:17 PM, Dr.Ruud <[EMAIL PROTECTED]> wrote: snip > > I need to serialize an perl object to STRING TEXT, > > not scalar > > Printing (the value of) a scalar, gives you a string. > See `perldoc -f sprintf`. snip Unfortunately the freeze subroutine from Storable outputs a b

Re: Perl Serialize object as string

2008-04-06 Thread Dr.Ruud
anthony brooke schreef: > I need to serialize an perl object to STRING TEXT, > not scalar Printing (the value of) a scalar, gives you a string. See `perldoc -f sprintf`. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

Re: Perl Serialize object as string

2008-04-06 Thread Chas. Owens
On Sun, Apr 6, 2008 at 2:33 PM, anthony brooke <[EMAIL PROTECTED]> wrote: > Thanks for the reply, I always thought that Dumper is used for debugging > purposes, I will look at it deeper. Btw, what you mean by cyclic data ? snip Data::Dumper is often used to display the contents of a data structur

Re: Perl Serialize object as string

2008-04-06 Thread anthony brooke
g list Sent: Monday, April 7, 2008 2:09:0-1 Subject: Re: Perl Serialize object as string On Sun, Apr 6, 2008 at 1:52 PM, anthony brooke <[EMAIL PROTECTED]> wrote: > Hello everyone, I need to serialize an perl object to STRING TEXT, > not scalar or file. The Storable module allow serializat

Re: Perl Serialize object as string

2008-04-06 Thread Chas. Owens
On Sun, Apr 6, 2008 at 1:52 PM, anthony brooke <[EMAIL PROTECTED]> wrote: > Hello everyone, I need to serialize an perl object to STRING TEXT, > not scalar or file. The Storable module allow serialization to file and > scalar variable, but this is not possible for passing between the perl > and pro

Perl Serialize object as string

2008-04-06 Thread anthony brooke
Hello everyone, I need to serialize an perl object to STRING TEXT, not scalar or file. The Storable module allow serialization to file and scalar variable, but this is not possible for passing between the perl and prolog program, that's why I need it to be string. I tried out the FreezeThaw modu