Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://479743]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2018-02-24 04:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (310 votes). Check out past polls.

    Notices?