M.J.T. Guy writes: > > > $field="disk whi"; > > > study $field; > > > print "Studied!\n"; > > > print "Found ",++$i, " matches\n" while($field=~/disk/g); > > > > > > it gets stuck in an infinite loop, whereas if I comment out the > > > study $field line, it works fine and just returns one match. > > > > > Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration: > > > > I do not see this with 5.005_03. > > I see it with any of 5.005 - 5.005_03 (sample config attached). I ran it again with 5.005_03, and now it loops. (?!) IlyaThread Previous | Thread Next