in reply to how to convert numbers to ASCII characters

Check the chr and ord functions.
print FILE chr(78); $number = ord('N');