Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 avoiding work at the Monastery: (4)
As of 2019-11-14 04:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (76 votes). Check out past polls.

    Notices?