It seems this bug is fixed in upstream version 5.10.0: $ perl5.10.0 -le '$a = "1 2 3"; $a =~ /2/gc; print pos($a); { local($a) }; print pos($a);' 3 3 $
I have no Debian package of 5.10 available, but if it's fixed there as well, somebody can close this bug. -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]