in reply to Re^2: subtract one array from another
in thread subtract one array from another

I did not know that at all! thanks! perhaps the documentation should mention this someplace? Or does it already - I was not able to find any reference.

-- Dan

  • Comment on Re: Re^2: subtract one array from another

Replies are listed 'Best First'.
Re^4: subtract one array from another
by Aristotle (Chancellor) on Oct 18, 2002 at 03:36 UTC
    I hadn't seen this in any of the docs or books, I only learned about it here in the monastery myself. In hindsight it is relatively obvious if you think about how arrays work, but being used to similar operations in constant time from hashes, it is easy to wrongly assume splice works the same way and I fell for the trap. It's sort of funny how nearly everyone does.

    Makeshifts last the longest.