in reply to Re: Count Using Splitin thread Count Using Split
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.
:-)
my $t = () = /mapping id="/g; [download]