From: Ramprasad A Padmanabhan <[EMAIL PROTECTED]> > while($string=~/regexp/g) { push @arr , $1 }
I said that the code that needs access to the $n variables is inside the replacement code of s/regexp/code/ge! The regexp is fairly complex, "returns" many matched substrings and matches many times during the s///ge. Jenda =========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ========== There is a reason for living. There must be. I've seen it somewhere. It's just that in the mess on my table ... and in my brain I can't find it. --- me -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]