Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

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.

8.1 Reading Input from Standard Input  
8.2 STDIN and Redirection  
8.3 Input Control using the Diamond Operator  
8.4 Input and the Default Variable  




 
 
  Published under the terms of the GNU General Public License Design by Interspire