but it is still not counting "abc" right....$x = 0; while (<DATA>) { ++$x while($_ =~ /abc/g); }
In reply to Re: Re: tr/abc// won't use string for matching, then what?
by supernewbie
in thread tr/abc// won't use string
by supernewbie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |