Hi,

does the following work as expected?

  for %hash.pairs -> $pair { # Note: No "is rw"!
    $pair.value = ...;       # Modifies %hash
  }

Or is it necessary to declare $pair as is rw? (The snippet does not
modify $pair, but $pair.value.)


--Ingo

-- 
Linux, the choice of a GNU | The next statement is not true.
generation on a dual AMD   | The previous statement is true.  
Athlon!                    | 

Reply via email to