Chapter 4. Handling Files in Perl
IO Introduction > STDOUT > Writing Files > STDIN > Reading Files >
Reading Directories > Editing Files > Recursive Editing
Introduction to Input and Output
This section describes working with input and output: getting information into and out of your Perl program. Input and output are referred to by computer geeks as IO.
In general as you work with Perl, you will be reading information from at least one source of input data. This source might be typed in at the keyboard, or read from an existing file, or brought in as data through CGI. You might even read from more than one source in the same program.
You will also be working with sending data to at least one output destination. This output destination might be to the screen, to a file, to another program, or to a web browser.
Of course, you get to choose where to read your data from, and where to send it to. How you do that is the subject of this lesson in the course. Continue on to learn about the various forms of IO, beginning with sending data to the simplest output destination.
Email me your comments!