Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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]
[Corion]: Discipulus: Better buy a new PC (well, self-build one from parts) than buy a new car :-)
[choroba]: the boot time on my laptops is more than satisfactory, but the desktop boots in 30+ secs
[choroba]: because of some problems of the wicked with systemd :-(
[Corion]: choroba: Just imagine how bad it must be without systemd ;-D
[choroba]: but I'm not sure it's worth my time...
NodeReaper shudders
[Corion]: choroba: That chart is frustrating as it pits cold hard numbers against puttering around with an annoying problem :)
[choroba]: I only use it when I want to avoid a task...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2017-07-27 09:18 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (407 votes). Check out past polls.