You are viewing the version of this documentation from Perl 5.005_01. View the latest version
chr NUMBER
chr

Returns the character represented by that NUMBER in the character set. For example, chr(65) is "A" in ASCII. For the reverse, use "ord".

If NUMBER is omitted, uses $_.