in reply to XML parsing help need, please...

findnodes (note the "s") returns a list of nodes (list context) or a NodeList object (scalar context). You want an actual node. If you want to discard all but the first result, you can use a list assignment:
   |         |
   v         v
my ($inc_node) = $xpc->findnodes('/upload/incident[number/text()="INC902531"]');

But your XPath is wrong. It should be

                                     |                                 |
                                     v                                 v
my ($inc_node) = $xpc->findnodes('/unload/incident[number/text()="INC902550"]');

Replies are listed 'Best First'.
Re^2: XML parsing help need, please...
by spstansbury (Monk) on Apr 13, 2010 at 22:15 UTC

    Discarding all but the first works fine, as there should only be one match. Thank you for your help!