On Thu, Oct 30, 2008 at 12:03:55PM +0100, Carl Mäsak wrote: : Илья (>): : > I have array ref : > my $ar = [1,2,3]; : > how can I go over it? : : All I know is that `for $ar.elems { ... }` used to work for this case. : It doesn't seem to work anymore. : : Time to file a ticket, methinks.
Er, .elems is always supposed to return a number. Maybe you want .values there instead, though that doesn't work either. :) Larry