On Jun 19, 2013, at 12:34 PM, Philippe de Rochambeau (via RT)
wrote:
> # New Ticket Created by Philippe de Rochambeau
> # Please include the string: [perl #118541]
> # in the subject line of all future correspondence about this issue.
> # https://rt.perl.org:443/rt3/Ticket/Display.html?id=118
# New Ticket Created by Philippe de Rochambeau
# Please include the string: [perl #118541]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org:443/rt3/Ticket/Display.html?id=118541 >
Hello,
according to http://en.wikibooks.org/wiki/Perl_6_Programming/T
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