Standard I/O Layers

:bytes

Use 8-bit bytes, as opposed to :utf8.

:crlf

Do CR/LF to newline translation, and vice versa.

:encoding(enc )

Select a specific encoding.

:perlio

Use Perl’s “PerlIO” implementation.

:raw

Use low-level I/O.

:stdio

Use the system’s “standard I/O” implementation.

:unix

Use Unix-style low-level I/O.

:utf8

Use Perl’s internal encoding of Unicode.

:Via(module)

Use the specified module to handle the I/O.

:win32

Use native I/O (Microsoft Windows platforms only).

PerlIO, perlrun (under ENVIRONMENT/PERLIO).

Get Perl Pocket Reference, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.