Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^4: Testing database updates.

by chrestomanci (Priest)
on Apr 20, 2012 at 08:09 UTC ( #966126=note: print w/replies, xml ) Need Help??

in reply to Re^3: Testing database updates.
in thread Testing database updates.

I think you miss understood me. I am not using XML as a dump format for my database. I am using the default export format of SQL insert statements.

The reason I need to parse XML, is because the script I am re-factoring emits results in the form of XML and text files as well as inserts into a database. I need to make sure the file output is functionally identical as well as the database output.

In terms of comparing the XML, I think using XMLin will be sufficient, as most of the consumers of the XML files are other perl scripts (that I don't control), so if the before and after XML is identical as far as XML::Simple is concerned, then it should be acceptable to those consuming perl scripts.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://966126]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2018-06-19 11:07 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (113 votes). Check out past polls.