develooper Front page | perl.perl5.porters | Postings from November 1999

Re: [ID 19991110.001] study and //g bug?

Thread Previous
Ilya Zakharevich
November 10, 1999 15:18
Re: [ID 19991110.001] study and //g bug?
Message ID:
Philip Kendall 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.


Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About