in reply to Re: Bean properties...
in thread Bean properties...

Sorry, can you explain that please?

Replies are listed 'Best First'.
Re^3: Bean properties...
by Anonymous Monk on Apr 28, 2009 at 15:21 UTC
      OK, but how can that subroutine be used to store an array as an object property? Also I think I've found a solution, how about this:
      sub AB { my $self =shift; if (@_) { @{ $self->{AB} } = @_ } return @{ $self->{AB} }; }
      Is there a better way to store data per object?