Text::Authinfo provides methods to read, query and write authinfo
files.
