in reply to searching characters
You can use the tr operator:
return 0 if (($line =~ tr/$base/$base/) >= $limit);citromatik
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: searching characters
by ikegami (Patriarch) on Jun 17, 2009 at 14:51 UTC | |
|
Re^2: searching characters
by JavaFan (Canon) on Jun 17, 2009 at 14:46 UTC |