Extutils-Makemaker-Locale

ExtUtils::MakeMaker::Locale(3p) Perl Programmers Reference Guide

Extutils-Makemaker-Locale

ExtUtils::MakeMaker::Locale(3p) Perl Programmers Reference Guide # ExtUtils::MakeMaker::Locale(3p) Perl Programmers Reference Guide NNAAMMEE # ExtUtils::MakeMaker::Locale - bundled Encode::Locale SSYYNNOOPPSSIISS # use Encode::Locale; use Encode; $string = decode(locale => $bytes); $bytes = encode(locale => $string); if (-t) { binmode(STDIN, ":encoding(console_in)"); binmode(STDOUT, ":encoding(console_out)"); binmode(STDERR, ":encoding(console_out)"); } # Processing file names passed in as arguments my $uni_filename = decode(locale => $ARGV[0]); open(my $fh, "<", encode(locale_fs => $uni_filename)) || die "Can't open '$uni_filename': $!"; binmode($fh, ":encoding(locale)"); . ...