Segfaults for me with perl5.20.2 and earlier. Works with 5.22.0. All are x86_64-linux-thread-multi.my $D = pack '(.* A*)*', map { $_, "foo" } 77777, 1234000000, 2345000111 ; my $p = 0; { $p = index($D, "foo", $p); warn "p=$p\n"; redo if ++$p; }
In reply to Re: INDEX limits
by Anonymous Monk
in thread INDEX limits
by clivehumby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |