Perl Programming/Keywords/open

Previous: oct Keywords Next: opendir

The open keywordEdit

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

SyntaxEdit

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

ExamplesEdit

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

See alsoEdit

Previous: oct Keywords Next: opendir