Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: XML module which one

by sundialsvc4 (Abbot)
on Feb 05, 2013 at 14:12 UTC ( #1017180=note: print w/ replies, xml ) Need Help??

in reply to XML module which one

One thing to watch out for as you do this is ... multiple responses to the same CGI-variable.   These appear as multiple occurrences in the data-stream, e.g.:

var1 = 'foo'
var1 = 'bar'

Make sure to use a CGI-variable parsing routine that handles that for you, and be sure also to put it to the test.   Multiple selections from a drop-down list can do this, or poorly-written HTML.   Be sure that your code, and your test suite, represents and correctly handles all cases that could exist.

(Mind you ... test it all the way up-and-down the line, including whatever logic is ultimately going to consume that XML file.)

Comment on Re: XML module which one

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017180]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2015-11-28 07:38 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (739 votes), past polls