Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: array/hash question with XML simple

by weismat (Friar)
on Mar 13, 2009 at 13:43 UTC ( #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
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
Node Status?
node history
Node Type: note [id://750412]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (15)
As of 2014-09-16 14:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (26 votes), past polls