Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Search and replace query

by Lotus1 (Vicar)
on Aug 26, 2011 at 12:50 UTC ( #922590=note: print w/replies, xml ) Need Help??


in reply to Re: Search and replace query
in thread Search and replace query

Since the order of the keys is not preserved in a hash and the order of elements seems to be important here XML::Simple won't do the job. This would be easy with xpath.

On second thought XML::Simple could work. You could check if the parent of this node contains a child with bindname=abcde.

Replies are listed 'Best First'.
Re^3: Search and replace query
by Anonymous Monk on Aug 26, 2011 at 12:54 UTC

    Since the order of the keys is not preserved in a hash and the order of elements seems to be important here XML::Simple won't do the job. This would be easy with xpath.

    XML::Simple knows how to array

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2020-11-23 17:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?