# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #54796] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=54796 >
The following run shows how the fact that a list of captured positionals barfs on an .elems call: $ parrot perl6.pbc > rule Foo { (\d+) } > "1234 x" ~~ Foo; say $/; 1234 > "1234 x" ~~ Foo; say @($/); 1234 > "1234 x" ~~ Foo; say @($/).WHAT; List > "1234 x" ~~ Foo; say @($/).elems; Method 'elems' not found for invocant of class 'ResizablePMCArray' > # wtf?! > say [1,2,3,4].elems 4 > say <1 2 3 4>.elems 4 $ // Carl