Why is my Perl program failing with Tie::File and Unicode/UTF-8 encoding?
I am working on a project which deals with data in foreign languages. My Perl scripts were running fine. I then wanted to use Tie::File, since this is a neat concept (and saves time and coding). It seems that Tie:File is failing under Unicode/UTF-8 (unless I am missing something). Here is a program which depicts the problem: (The data is a mix of English, Greek and Hebrew): use strict; use warnings; use 5.014; use Win32::Console; use autodie; use warnings qw< FATAL utf8 >; use Carp; use Carp::Always; use utf8; use feature qw< unicode_strings>; use charnames qw< :full>; use Tie::File; my ($i);