in reply to COBOL to ascii conversions
Check the Encode module:
use Encode; ... from_to($data, "EBCDIC", "ASCII"); [download]