
The file::slurp::unicode module wraps the standard file::slurp package and adds character encoding support (defaults to utf-8).
it exports the same functions as file::slurp and they take all the same parameters plus some more for the encoding handling.