in reply to Portable datastore formats in core perl?

If it is only data that you are trying to port form one machine to an other, I will suggest a simple coma delimited flat file.

data1,data2,date,number,etc ....
data1,data2,date,number,etc ....
data1,data2,date,number,etc ....
data1,data2,date,number,etc ....

  • Comment on Re: Portable datastore formats in core perl?

Replies are listed 'Best First'.
Re^2: Portable datastore formats in core perl?
by rastoboy (Monk) on Jul 28, 2010 at 21:40 UTC
    Thanks for that. I probably should have been more clear--I am indeed talking about a complex datastructure.

      JSON, XML, YAML, ...

      Storable needs the same version of Storable on all machines, and I think it also needs the same byte order on all machines.

      You could also use SQLite (via DBI / DBD::SQLite).

      Data::Dumper and string eval doesn't sound that good, it opens a hole that I would like to keep closed.

      Alexander

      --
      Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)