When I say syswrite 4, I want a number 4 to go out the wire.
Try this and see if it satisfies your requirement:
syswrite( $SERIALPORT, pack 'C', 4 );
Then go read perlfunc:pack().
In reply to Re: syswrite numbers, not strings
by BrowserUk
in thread syswrite numbers, not strings
by akujbida
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |