About a week ago (September 2015), Larry Wall introduced the new + prefix, one of four parameter prefixes ( * , ** , + , | ), which mean sloppy (variable) parameters . So far, he has added this new prefix to the Rakudo Perl 6 compiler, added several tests, given a brief unofficial description of it in # perl6, and added a section on it to the corresponding language document.
The example given in the original question is taken from the archive of an unofficial document written and frozen in time ten years ago. At that time, the + parameter prefix meant a named parameter, as opposed to a positional one . Currently we use for this : thus:
submethod BUILD (:$tail, :@legs, *%extraargs) { $.tail = $tail; @.legs = @legs; }
raiph source share