Help for this page

Select Code to Download


  1. or download this
    $x = 0;
    $cnt = tr/abc//;
    $x += $cnt;
    
  2. or download this
    $x = 0;
    while (<DATA>) {
    $cnt = m/abc/g;
    $x += $cnt;
    }