local $/ = \5201; while (<>) { chop; print; } [download]
In reply to Re^2: EBCDIC File I/O by djp in thread EBCDIC File I/O by Grygonos