The wikibooks example is wrong, Rakudo is correct here.
(To return the number of elements, use prefix:<+>, not the $- contextualizer.) Actually, that whole section in wikibooks seems to be a little "off"... "@()" doesn't mean "convert to array", for example. Closing ticket. Pm