in reply to XML to SQL - the easy way?
$row is suppoed to look something likewhile(my $row = read_row_from_xml($input)) { $db->insert(mytable => $row); }
{ 'foo' => 123, 'bar' => 456, 'comment' => 'This is plain text', # NOT escaped 'undefined' => undef, # becomes NULL }
Writing the sub read_row_from_xml is left as an exercise for the user.
|
|---|