You are viewing the version of this documentation from Perl 5.005_02. View the latest version
ord EXPR
ord

Returns the numeric ascii value of the first character of EXPR. If EXPR is omitted, uses $_. For the reverse, see "chr".