148

Input/Output
Text I/O

  • Perl makes it very easy to perform input and output on text data

  • There are several methods for reading and writing text data

    • Reading one line from an input stream

    • Reading many lines from an input stream

    • Writing one or more lines to an output stream

    • Writing one or more formatted lines to an output stream