k1ng0fn3rd
Programmer
How come this code:
produces this output:
123456789:;<=>?@ABCDEFGHIJ
?
--------------------------
The best answer to your question will definitely be RTFM.
Code:
$text = "abcdefghijklmnopqrstuvwxyz";
$text =~ tr/a-z/1-{26}/;
print "$text\n";
123456789:;<=>?@ABCDEFGHIJ
?
--------------------------
The best answer to your question will definitely be RTFM.