in reply to Re^3: deleting elements in nested hash structure
in thread deleting elements in nested hash structure

You are still missing the first correction - instead of using $first directly, you need to use $ids[$first].

Either

push( @toDelete, $ids[$first]), last
or
delete @tss{ @ids[@toDelete] };

             I hope life isn't a big joke, because I don't get it.
                   -SNL

Replies are listed 'Best First'.
Re^5: deleting elements in nested hash structure
by BrowserUk (Patriarch) on Jun 02, 2012 at 23:37 UTC

    You are right! I was completely oblivious to that error and I will correct it. Thank you.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?