Maybe some of you could shed some light, I'm having the following (silly) problem:
package TryOut; use strict; use warnings; { use Object::InsideOut; my @data :Field( 'Standard' => 'data', 'Permission' => 'private'); }
#!/usr/bin/perl use strict; use warnings; use TryOut; my $obj = TryOut->new();
When I run main.pl I get:
OIO::Internal error: Failure creating accessor for class 'TryOut' Error: OIO::Method error: Can't call private method 'TryOut->get_data' + from class 'Object::InsideOut' Package: Object::InsideOut File: /usr/local/share/perl/5.8.8/Object/InsideOut.pm ...
Is this normal behaviour? The docs of Object::InsideOut give:
my @data :Field( 'Standard' => 'data', 'Permission' => 'private');
as an example...
I only just installed Object::InsideOut from CPAN and didn't get any errors.
I can image it's nonsense to make up private setters and getters but as it was mentioned in the documentation I thought of giving it a try...
In reply to Object::InsideOut, I don't get it by gargle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |