Hello humble and monks.
As daxim says, utf8::all dies because it imports its setting to your current code. In this case, "use warnings FATAL =>'utf8'" is imported from utf8::all and it dies. Below dies with utf8::all.
If you disable "use warnings FATAL =>'utf8'" temporally, I guess you will not die.print "before shiftjis\n"; open( my $fh, "<", "107.shiftjis.txt") or die $!; print join('', <$fh>); close $fh;
regardsuse warnings NONFATAL =>'utf8'; #disable print "before shiftjis\n"; open( my $fh, "<", "107.shiftjis.txt") or die $!; print join('', <$fh>); close $fh; "use warnings FATAL =>'utf8'"; #enable
In reply to Re: Using pragma utf8::all in processing non-utf data.
by remiah
in thread Using pragma utf8::all in processing non-utf data.
by humble
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |