# New Ticket Created by Brandon Allbery # Please include the string: [perl #129245] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=129245 >
[11 06:36] <sammers_> m: sub subparams(($head, *$tail)) { ($head, $tail).flat }; say subparams((1,2,3,4)); [11 06:36] <camelia> rakudo-moar 0a7125: OUTPUT«Too many positionals passed; expected 2 arguments but got 4 in sub-signature [11 06:36] in sub subparams at <tmp> line 1 [11 06:36] in block <unit> at <tmp> line 1 [11 06:36]  [11 06:36] » [11 06:41] <geekosaur> "An array or hash parameter can be marked as slurpy by leading asterisk(s)" suggests *$ should be illegal [11 06:45] <lizmat> geekosaur: I would tend to agree [11 06:46] <lizmat> m: dd :(*$a) # apparently, it's just $a [11 06:46] <camelia> rakudo-moar 0a7125: OUTPUT«:($a) [11 06:46] » -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net