in reply to Re^3: How to manage a big file
in thread How to manage a pattern matching & counting with big data file

FWIW, $a and $b are special, its better to use meaningful variable names not already reserved