Line 62: use chomp $searchline instead of just chomp.
Line 64: use $searchline instead of $_ on the previous line.
Line 67: use $searchline instead of $_.
---
It's all fine and dandy until someone has to look at the code.
Comment on Re^11: Sorting names using Regular Expressions and placing them in different Files.