Instead use one of the version comparison macros. See "PERL_VERSION_EQ".
"PERL_VERSION_EQ"
To install utf8, copy and paste the appropriate command in to your terminal.
cpanm
cpanm utf8
CPAN shell
perl -MCPAN -e shell install utf8
For more information on module installation, please visit the detailed CPAN module installation guide.