in reply to Re^2: Dereferencing arrays
in thread <SOLVED>Dereferencing arrays

Your problems are pretty much all caused by misuse of prototypes. Just get rid of them. There is rarely a good reason to give Perl subs prototypes.

use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name