Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: store/retrieve data structure in MySQL

by friedo (Prior)
on Jul 31, 2005 at 21:18 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://479743]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-19 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found