T
toylet
my $line = <>;
I input "a" and press enter.
Now $line should contain 2 bytes: 'a' and end-of-line character.
How could I print the content of $line (both bytes) in hex format?
I input "a" and press enter.
Now $line should contain 2 bytes: 'a' and end-of-line character.
How could I print the content of $line (both bytes) in hex format?