Instead of using qx//, use a piped open whereby you can binmode the handle before importing the data:
open PIPE, '-|', 'sg_logs --page=0x34,1 pd1 -H -r' or die $!; binmode PIPE; my $data = do{ local $/; <PIPE> }; close PIPE;
In reply to Re^2: unpack() removing data
by BrowserUk
in thread unpack() removing data
by shnatko
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |