Convert perl structure (Tree::Nary) to scalar

M

Mike Mimic

Hi!

How can I convert Tree::Nary structure to a scalar so
that I can save it into a column in a MySQL database.

I know Tree::Nary::Extended but it is not what I need because
it uses whole table. I would need that the structure would be
in a single column from many columns.

So I would convert it to scalar, save it into BLOB typed column
and read it later, convert it back and use it.

If there is nothing in existence I can program it. Just tell me how
(show me the way).


Mike
 
M

Mike Mimic

Hi!
How can I convert Tree::Nary structure to a scalar so
that I can save it into a column in a MySQL database.

Found Storable. I thought it is only for writing to a file.

I will give it a try.


Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top