According to the Wiki, the official documentation is http://perlcabal.org/syn/
. I tried searching for ".last" in the search box and it found nothing, yet I found it mentioned in the S04 under control structures. I search for ".elems" and it doesn't find that. "elems" without the dot doesn't work either.
I re-read the "bits and pieces" sections, but on arrays it talks about declaring and indexing, nothing about what built-in methods are available. The statement
works in Pugs, after defining @crew of course. But where is documentation on the .elems method, and the list of available methods? And what replaced .last that was used in the O'Reilly book and now is only used as a control structure inside a loop?