Streebgreebling has asked for the wisdom of the Perl Monks concerning the following question:
Hi All,
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!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: IO with EBCDIC files in an ASCII environment?
by PodMaster (Abbot) on Jun 10, 2003 at 10:12 UTC | |
Re: IO with EBCDIC files in an ASCII environment?
by Streebgreebling (Initiate) on Jun 10, 2003 at 13:19 UTC |
Back to
Seekers of Perl Wisdom