I'm trying to figure out the best way to store a soap response to a database. Right now here's what I'm trying.
code up here sends soap connection and what not.
$response = $result->valueof('//blah//blah2//blah3');
Dumper output is
{
'A' => '1',
'B' => '2',
},
{
'A' => '3',
'B' => '4',
},
my
I tried store it to the database as a text field using dumper and then doing an eval to read it back in, but I'm running into problems when I try to loop through it.
Being new to perl, I figured it was better to ask if there was a better way of doing this, rather than how to loop through it, but both responses would suite me.