Streebgreebling has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to read and write to an EBCDIC file (CCSID 37) while running in an ASCII (CCSID 819) environment. (PASE environment on an iSeries 400 system) Perl5.80
The PerlIO doc states that I should be able to use an EBCDIC encoding with the 'open' pragma to do the business. So, I've been trying values such as:
use open ':cp37';
and getting back: Unknown PerlIO layer class ':cp37'
or even trying:
use open ':encoding(cp37)';
and getting back: Recursive call to Perl_load_module in PerlIO_find_layer
This is a new area for me and would appreciate any guidance Thanks!