HTML CSS PHP PERL

Hour 11. System Interaction

 
Previous Table of Contents Next

Hour 11. System Interaction

What You'll Learn in This Hour:

All the Perl you've learned up until now has been fairly self-contained: If you wanted something done, you had to do it yourselfsorting data, creating directory listings, divining configuration information, and so on. The problem is that it's a lot of work, and you're repeating work that might have been done elsewhere.

One of the current buzzwords being touted about Perl is that it's an excellent glue language. What this means is that Perl can use other programs that are installed with your operating system as components, connecting them together to create larger programs. It can start your OS utilities and use them to gather information, interact with you, and then shut them down.

Perl can glue together these smaller utilities to produce a much larger and more useful utility. This capability has the added benefit of allowing you to quickly write code that might otherwise have taken a long time to write and debug. You should use any leverage at your advantage to write code quickly and accurately. Gluing system utilities together can offer a large advantage.

By the Way

The examples in this hourfor the most parthave two versions, one for Windows and MS-DOS systems and the other for Unix systems. Where only one example is provided, you'll find a note in the text about what to change for the other kind of systemand usually that change is minor.


    Previous Table of Contents Next
    © 2000- NIV