No, because if one occurence of the search string is found, the string is split into two.
Then my @t=split(/mapping id="/,$_); should be my @t = /mapping id="/g; instead.
:-)
In reply to Re^3: Count Using Split
by jwkrahn
in thread Count Using Split
by de2425
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |