Posted on 2006-01-10 21:50:52-08 by earl
Warning message from Object::Inside-Out

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 ...

if ($$self) {

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?
Direct Responses: 1613 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.