Text::Amuse::Compile::Utils - Common routines used
These functions are replacements for File::Slurp, which has deemed deprecated. Candidate modules are File::Slurp::Tiny and Path::Tiny. But given that we always use utf8, and don't need all the Path::Tiny features (which are cool, but would make sense to use them everywhere instead of File::Spec etc, let's cook our own in the meanwhile.
The following functions always use the binmode encoding(UTF-8) on the files, so they takes and return decoded strings.
encoding(UTF-8)
The purpose of this module is just to save some typing.
None by default, only on demand.
To install Text::Amuse::Compile, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Amuse::Compile
CPAN shell
perl -MCPAN -e shell install Text::Amuse::Compile
For more information on module installation, please visit the detailed CPAN module installation guide.