Hi, 
 
  sub foo() { 
    "abc" ~~ /^(.)/;   # $1 now "a" 
  } 
 
  sub bar() { 
    "def" ~~ /^(.)/;   # $1 now "d" 
    foo(); 
    say $1;            # Outputs "d" 
  } 
 
  bar(); 
 
  # Correct (I hope so)? 
 
 
--Ingo 
 
--  
Linux, the choice of a GNU | Row, row, row your bits, gently down the 
generation on a dual AMD   | stream...   
Athlon!                    |  

Reply via email to