Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Answer: How do I completely remove an element from an array?

by gone2015 (Deacon)
on Apr 23, 2009 at 10:33 UTC ( [id://759506] : note . print w/replies, xml ) Need Help??


in reply to Re: Answer: How do I completely remove an element from an array?
in thread How do I completely remove an element from an array?

Would it not be easier to undef the items to be removed, and then drop them from the array later ?

  • Comment on Re^2: Answer: How do I completely remove an element from an array?
  • Download Code