in reply to Creating data delimited by ASCII code 1 using perl
ASCII code 1 (binary1),
ASCII code 1:
$\ = "\n"; # output record separator print "\x01"; # hex print "\001"; # octal print "\cA"; # control char print pack "C",1; # byte with the lowest bit set
You can use any of them with join and split.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Creating data delimited by ASCII code 1 using perl (updated)
by haukex (Archbishop) on Jun 21, 2019 at 13:20 UTC |