Skip to Main Content
Cisco IOS Cookbook, 2nd Edition
book

Cisco IOS Cookbook, 2nd Edition

by Kevin Dooley, Ian Brown
December 2006
Intermediate to advanced content levelIntermediate to advanced
1188 pages
72h 8m
English
O'Reilly Media, Inc.
Content preview from Cisco IOS Cookbook, 2nd Edition

Perl

According to the Perl web site, “Perl is a high-level programming language with an eclectic heritage written by Larry Wall and a cast of thousands. It derives from the ubiquitous C programming language and, to a lesser extent, from sed, awk, the Unix shell, and at least a dozen other tools and languages. Perl’s process, file, and text manipulation facilities make it particularly well-suited for tasks involving quick prototyping, system utilities, software tools, system management tasks, database access, graphical programming, networking, and world wide web programming.”

Many of the scripts written in Perl these days tend to involve dynamically generating web pages. But all of the scripts in this book use Perl at the command line of either a Unix or Windows computer.

We frequently use Perl for scripting network administration functions because it is an extremely powerful and flexible language, particularly for things like pattern matching. This makes it perfect for tasks like scanning logfiles, as well as for spawning dynamic queries and formatting the output into a useful report.

Perl is available for both Unix and Windows systems. This is important because while the engineers who run most of the world’s larger networks use Unix, smaller organizations frequently don’t have any Unix expertise. So it is not uncommon to see Windows computers managing smaller networks.

Perl’s free and open distribution policy means that there is usually a good port available, even if you use a different ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning the Cisco Application-Centric Infrastructure (ACI)

Learning the Cisco Application-Centric Infrastructure (ACI)

Rene Cardona

Publisher Resources

ISBN: 0596527225Supplemental ContentErrata Page