in reply to Match operator fails for elements 100 and higher
Your array only has 1 element:
my @mystrings = "string" x 200; print 'size=', scalar @mystrings, "\n"; # size=1
I don't know why the 1st regex does not produce an error, where the 2nd one does. But, maybe if you fix the warnings, you will get what you are looking for.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Match operator fails for elements 100 and higher
by lostjimmy (Chaplain) on Nov 03, 2010 at 21:03 UTC |