Hi,

    my $arrayref = <a b c>;

    for @$arrayref {...};    # loop body executed three times, of course
    for ($arrayref,) {...};  # loop body executed only one time

    for ($arrayref)  {...};  # loop body executed one or three times?
    for  $arrayref   {...};  # loop body executed one or three times?


--Ingo

-- 
Linux, the choice of a GNU | self-reference, n. - See self-reference  
generation on a dual AMD   | 
Athlon!                    | 

Reply via email to