perl-Mixin-Linewise - Write your linewise code for handles; this does the rest
It's boring to deal with opening files for IO, converting strings to handle-
like objects, and all that. With Mixin::Linewise::Readers and
Mixin::Linewise::Writers, you can just write a method to handle handles,
and methods for handling strings and filenames are added for you.
How to Install
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum install perl-Mixin-Linewise