in reply to Solution to unicode issue creating more problems than it solves
The error likely is on this line:
open(SUMMARY, ">:utf8", ">Item Summary.txt");
and Perl would have told you about it, had you used proper error checking:
my $outfile = ">Item Summary.txt"; open(SUMMARY, ">:utf8", $outfile) or die "Couldn't create '$outfile': $!";
Of course, the warning that SUMMARY is a closed filehandle is still true, but not because it was closed behind your back but because it was never opened. Also, XML::Twig does not play into the problem at all, neither does UTF-8.
|
|---|