in reply to arrays in classes

Yes, $self is a hash reference, that has been blessed.

If you'd like to include other data structures as values of the hash, then just read perldsc - Perl Data Structures Cookbook