perl library to mix in methods for dealing with linewise input sources