Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: store/retrieve data structure in MySQL

by friedo (Prior)
on Jul 31, 2005 at 21:18 UTC ( #479743=note: print w/replies, xml ) Need Help??

in reply to store/retrieve data structure in MySQL

You will need to serialize the structure in order to save it into the DB. There are many options available, each with advantages and disadvantages. Data::Dumper is human-readable and serializes your structure as Perl code, YAML is human-readable and cross platform (there are parsers for several languages). There is also Storable, which is a binary format and is somewhat faster. And of course there are various XML things to choose from.
  • Comment on Re: store/retrieve data structure in MySQL

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://479743]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2020-06-03 13:57 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (24 votes). Check out past polls.