in reply to store the output of the request to the db - instead of printing

Get familiar with iterating over a complex data structure, this will serve you well.

http://perlmaven.com/multi-dimensional-hashes

If you wish to actually serialized it, I'd look at the JSON::XS module.

  • Comment on Re: store the output of the request to the db - instead of printing