Perl Programming/Keywords/open

Previous: oct Keywords Next: opendir

The open keyword Edit

open is the Perl pragma to set the default input/output layers (PerlIO).

Syntax Edit

  use open IN  => <info>, OUT => <info2>;

Examples Edit

  use open IN  => ":crlf", OUT => ":bytes";
  []
  use open IO  => ":encoding(iso-8859-7)";

See also Edit

Previous: oct Keywords Next: opendir