XP is just a number | |
PerlMonks |
Re: Using ArrayRef data members in Mooseby stvn (Monsignor) |
on Jul 03, 2008 at 02:59 UTC ( [id://695277]=note: print w/replies, xml ) | Need Help?? |
There is nothing magical about an attribute that isa => ArrayRef any more than an attribute that isa => Str. The former holds an array reference, the later a string. That is all, no other magic is done under the covers to make Perl 5's ugly dereferencing syntax go away. Simply put, I think you are expecting to see magic where none actually exists. I'm getting very frustrated with the Moose documentation. There is certainly a ton of documentation, but it skips from bare basics, up to the clouds, with very little in between Yes, Moose documentation is lacking in places, we know this and are working to improve it, help is always appreciated. I run an audreyt/Pugs-style project too, so if you want a commit-bit just come on over to #moose and ask for one and you can start improving the docs right away. In the meantime here are some suggestions which you may not have seen, all of which are accessible from the Moose homepage http://moose.perl.org:
-stvn
In Section
Seekers of Perl Wisdom
|
|