I tested my code, so something doesn't jive. Try adding the following to your code:
use Data::Dumper qw( Dumper ); local $Data::Dumper::Useqq = 1; print(Dumper($line));
Put the print before the tr///d.
In reply to Re^3: hexdump/od/perl question
by ikegami
in thread hexdump/od/perl question
by EvanCarroll
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |