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