programming-examples/perl/Datatype/hex(ab).pl

5 lines
100 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
print hex("ab") , "\n";
print hex("Ab") , "\n";
print hex("aB") , "\n";
print hex("AB") , "\n";