Home >> perlfunctions >>ord EXPRord : Returns the numeric (the native 8-bit encoding, like ASCII or EBCDIC, or Unicode) value of the first character of EXPR. If EXPR is omitted, uses $_ .
#!/usr/bin/perl -w
print(ord('A'), "\n");
output
=======
65
Perl functions
|
eval List of all perl functions perl function : split Perl function: lc shift
|