I was replacing a hash base module with it's inside out equivalent. When I tested the change, I got the following message.
(in cleanup) Not a SCALAR reference at ..../Object/InsideOut.pm line 1365.
I am using version 1.24. and the line of code is ...
I don't think I did anything unusual and I am not using a destruct subroutine. I put in some debug statements.
I have a hash-based object with an inside-out component. Somehow, the hash-based object is getting passed to Inside Out's DESTROY.
What should I check next?