open (OUT, "output.txt"); binmode(OUT, ":utf8"); print OUT Dumper(\@matches); close OUT; #### open( OUT, ">:utf8", "output.txt" ) or die "output.txt: $!\n"; #### print OUT "\x{feff}\n"; # and then print all the utf8 text content...
## open( OUT, ">:utf8", "output.txt" ) or die "output.txt: $!\n"; ##
## print OUT "\x{feff}\n"; # and then print all the utf8 text content...