programming-examples/perl/Datatype/hex(ab).pl
2019-11-15 12:59:38 +01:00

5 lines
100 B
Perl

print hex("ab") , "\n";
print hex("Ab") , "\n";
print hex("aB") , "\n";
print hex("AB") , "\n";