Most likely, your file is encoded as UTF-16.
Try Encode::decode, or opening your file as UTF-16:
open my $log, '<:encoding(UTF-16)', $logfilename or die "Couldn't read '$logfilename': $!";
In reply to Re: Parsing issue (null bytes?)
by Corion
in thread Parsing issue (null bytes?)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |