in reply to Object::InsideOut, I don't get it
Two observations:
So edit TryOut.pm to look like this:
package TryOut; use strict; use warnings; sub new { use Object::InsideOut; my @data :Field( 'Standard' => 'data', 'Permission' => 'private'); } 1;
That will get rid of the error. You will still want to return an actual blessed object from the constructor new, of course.
Hope that helps!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Object::InsideOut, I don't get it
by rhesa (Vicar) on Mar 05, 2006 at 17:18 UTC | |
by xdg (Monsignor) on Mar 05, 2006 at 18:56 UTC | |
by jdhedden (Deacon) on Mar 06, 2006 at 02:10 UTC | |
|
Re^2: Object::InsideOut, I don't get it
by xdg (Monsignor) on Mar 05, 2006 at 19:01 UTC |