ch41 01


Perl (Unix Power Tools, 3rd Edition) Chapter 41. Perl Contents: High-Octane Shell Scripting Checking your Perl Installation Compiling Perl from Scratch Perl Boot Camp, Part 1: Typical Script Anatomy Perl Boot Camp, Part 2: Variables and Data Types Perl Boot Camp, Part 3: Branching and Looping Perl Boot Camp, Part 4: Pattern Matching Perl Boot Camp, Part 5: Perl Knows Unix Perl Boot Camp, Part 6: Modules Perl Boot Camp, Part 7: perldoc CPAN Make Custom grep Commands (etc.) with Perl Perl and the Internet 41.1. High-Octane Shell Scripting Perl[123] is an ecclectic, interpreted language with deep roots in Unix. It was originally written by Larry Wall, creator of other Unix staples such as patch and rn, to help with system administration tasks. Because many of its variables are prefixed with $, Perl often looks like an awk program or even a Bourne shell script. Like all appearances, this too can be deceiving. Perl is a complete programming language that supports both structured and object oriented programming. Getting started with Perl is easy, since many of the Bourne shell tricks you've seen will work (after a fashion) under Perl. As your knowledge grows, you'll find that Perl will help you scratch increasingly obscure itches. Because Perl has been ported to many different platforms, it brings a Unix-like API to whichever operating system is hosting it. Perl makes cross-platform programming a reality. [123]A word on casing: "Perl" refers to the language as an abstract concept; "perl" refers to the program installed on your machine. The complete guide to Perl is O'Reilly's Programming Perl, a book that weighs in at over 1500 pages. Therefore, only the barest of essentials can be presented here to help you identify your Perl installation, tinker with existing scripts, and install new modules. Luckily, Perl always comes with documentation that can be accessed through the perldoc (Section 41.10) system. -- JJ 40.11. Finding and Installing RPM Packaged Software41.2. Checking your Perl Installation Copyright © 2003 O'Reilly & Associates. All rights reserved.

Wyszukiwarka

Podobne podstrony:
ch41
CH41 (2)
ch41
ch41
ch41
ch41
ch41
ch41 (3)
ch41
ch41
ch41
ch41
ch41
ch41
CH41
ch41
ch41
ch41

więcej podobnych podstron