I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
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
Posted on 2006-01-11 01:29:00-08 by jdhedden in response to 1608
Re: Warning message from Object::Inside-Out
    Somehow, the hash-based object is getting passed to Inside Out's DESTROY.

This can occur if the hash-based object is being blessed into one of your inside-out classes. My first recommendation is to upgrade to Object::InsideOut v1.29. It's possible that an issue fixed in v1.26 may help. If that doesn't fix it, then email me directly with your code and info on your Perl version.
Direct Responses: 1614 | Write a response
Posted on 2006-01-11 21:35:14-08 by earl in response to 1613
Re: Warning message from Object::Inside-Out
When I upgraded to v1.29, the problem went away. Thanks.
Direct Responses: Write a response