Dec 17, 2015, 10:36 AM
Post #2 of 2
You have not given us enough information to help you. We need to see your data structures. Your for loops are valid perl only if $model and $wafer are objects. If they are, we will also need to see their code (or their documentation). If not, you must fix your code. (We probably can help with this after we see the data structure.)
Re: [alferic] deleting hash ref key & value
[In reply to]
The function 'delete' removes a key from a hash. Your error message is telling you that that is not what you are doing. My best guess is that you are trying to remove an element from an array. That would be very hard to do. You do not want a design that requires it. Please explain the 'big picture' of what you are trying to do.