http://www.perlmonks.org?node_id=771774


in reply to Re^8: Suggestion for regular expression speed improvement.
in thread Suggestion for regular expression speed improvement.

Dont forget unpack. For fixed width fields its pretty much the fastest choice you have. And many logfiles are fixed width.

---
$world=~s/war/peace/g