in reply to unpack() removing data
line where the 0x0D byte which is part of the sg_logs result is getting stripped when sent to $data with the '=' operator is there a way to ensure the result from the qx{} is sent to $data as binary data without any interference? something like binmode but for '=' instead of for file handles?$data = qx{sg_logs --page=0x34,1 pd1 -H -r };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: unpack() removing data
by BrowserUk (Patriarch) on Jan 11, 2013 at 20:14 UTC | |
by shnatko (Initiate) on Jan 11, 2013 at 21:10 UTC |