in reply to Re: syswrite numbers, not strings
in thread syswrite numbers, not strings
I have studied the pack, unpack, and packtut extensively, and conclude that they do not get the chance to come into play: Perl is tinkering with the write.syswrite( $SERIALPORT, pack 'C', 44 ); #writes 0x2C onto the wire, so Perl evidently sees ASCII character 0d4 +4 in this case, not number 0d44
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: syswrite numbers, not strings
by salva (Canon) on Dec 18, 2014 at 06:16 UTC | |
by akujbida (Acolyte) on Dec 18, 2014 at 06:57 UTC | |
|
Re^3: syswrite numbers, not strings
by BrowserUk (Patriarch) on Dec 18, 2014 at 06:18 UTC | |
by akujbida (Acolyte) on Dec 18, 2014 at 07:14 UTC | |
by Anonymous Monk on Dec 18, 2014 at 08:02 UTC | |
by akujbida (Acolyte) on Dec 18, 2014 at 11:45 UTC | |
|
Re^3: syswrite numbers, not strings
by RonW (Parson) on Dec 18, 2014 at 18:48 UTC |