The chr keyword edit
chr returns the character specified with NUMBER. Negative values give the Unicode replacement character (chr(0xfffd)) as long as the bytes pragma is not selected. In that case, the low eight bits of the value truncated to an integer are used.
Without NUMBER, the contents of $_ are used.
chr is the reverse of ord.