Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: array/hash question with XML simple

by weismat (Friar)
on Mar 13, 2009 at 13:43 UTC ( [id://750412]=note: print w/replies, xml ) Need Help??


in reply to array/hash question with XML simple

I think you need to use splice instead of delete to modify the array. splice @{$data->{page}} $dat 1 should do what you want (untested).
  • Comment on Re: array/hash question with XML simple

Replies are listed 'Best First'.
Re^2: array/hash question with XML simple
by TienLung (Acolyte) on Mar 13, 2009 at 14:11 UTC
    Thanks for this, I had not ever used the splice method, but after now reading about it, it does indeed sound useful. Many thanks for your help

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-25 14:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found