8. Basic Input with Perl
As a Perl developer it is inevitable that you are going to have to communicate with the users of your programs from time to time. This will likely be in the form of asking the users questions and displaying some form of status information as the Perl script executes. It may also be necessary to accept input from other sources that have been redirected to the input stream of your Perl program.
In this chapter we will explore the area of basic Input using Perl and will address the areas of input both from the user's keyboard and from other sources such as output from another application or the contents of a file. In the next chapter we will focus on Perl Output techniques.