develooper Front page | perl.perl6.language | Postings from April 2008

Question (mistake?) in S06 "Multidimensional argument list binding"

From:
John M. Dlugosz
Date:
April 12, 2008 17:46
Subject:
Question (mistake?) in S06 "Multidimensional argument list binding"
The section contrasts 
    sub foo (*@@slice) { ... }
    sub foo (\$slice) { ... }

but he latter is never explained anywhere.  Did you mean to use | instead of \ in that section?

If not, what am I missing?



Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About