perl-5.38.0
ord EXPR
ord

Returns the numeric value of the first character of EXPR. If EXPR is an empty string, returns 0. If EXPR is omitted, uses $_. (Note character, not byte.)

EXPR の最初の文字の数値としての値を返します。 EXPR が空文字列の場合は、0 を返します。 EXPR が省略されると、$_ を使います。 (バイトではなく 文字 であることに注意してください。)

For the reverse, see chr. See perlunicode for more about Unicode.

逆のことをするには chr を参照してください。 Unicode については perlunicode を参照してください。