- or download this
use strict;
use warnings;
...
my $string;
sysread(PLP, $string, 100);
printf("0x%02x ", ord($_)) for (split //, $string);
- or download this
0x0d 0x00 0x0d 0x00 0x0a 0x00
- or download this
use strict;
use warnings;
...
my $string;
sysread(PLP, $string, 100);
printf("0x%02x ", ord($_)) for (split //, $string);
- or download this
0x0d 0x00 0x0d 0x0a 0x00