Programming Perl

Unmatched power for text processing and scripting

Author: Tom Christiansen,brian d foy,Larry Wall,Jon Orwant

Publisher: "O'Reilly Media, Inc."

ISBN: 1449321461

Category: Computers

Page: 1184

View: 2471

Adopted as the undisputed Perl bible soon after the first edition appeared in 1991, Programming Perl is still the go-to guide for this highly practical language. Perl began life as a super-fueled text processing utility, but quickly evolved into a general purpose programming language that’s helped hundreds of thousands of programmers, system administrators, and enthusiasts, like you, get your job done. In this much-anticipated update to "the Camel," three renowned Perl authors cover the language up to its current version, Perl 5.14, with a preview of features in the upcoming 5.16. In a world where Unicode is increasingly essential for text processing, Perl offers the best and least painful support of any major language, smoothly integrating Unicode everywhere—including in Perl’s most popular feature: regular expressions. Important features covered by this update include: New keywords and syntax I/O layers and encodings New backslash escapes Unicode 6.0 Unicode grapheme clusters and properties Named captures in regexes Recursive and grammatical patterns Expanded coverage of CPAN Current best practices

Perl Best Practices

Author: Damian Conway

Publisher: "O'Reilly Media, Inc."

ISBN: 0596001738

Category: Computers

Page: 517

View: 1662

Presents guidelines on the art of coding with Perl, covering such topics as naming conventions, data and control structures, program decomposition, interface design, and error handling.

Perl Cookbook

Solutions & Examples for Perl Programmers

Author: Tom Christiansen,Nathan Torkington

Publisher: "O'Reilly Media, Inc."

ISBN: 9780596554965

Category: Computers

Page: 968

View: 8678

Find a Perl programmer, and you'll find a copy of Perl Cookbook nearby. Perl Cookbook is a comprehensive collection of problems, solutions, and practical examples for anyone programming in Perl. The book contains hundreds of rigorously reviewed Perl "recipes" and thousands of examples ranging from brief one-liners to complete applications.The second edition of Perl Cookbook has been fully updated for Perl 5.8, with extensive changes for Unicode support, I/O layers, mod_perl, and new technologies that have emerged since the previous edition of the book. Recipes have been updated to include the latest modules. New recipes have been added to every chapter of the book, and some chapters have almost doubled in size.Covered topic areas include: Manipulating strings, numbers, dates, arrays, and hashes Pattern matching and text substitutions References, data structures, objects, and classes Signals and exceptions Screen addressing, menus, and graphical applications Managing other processes Writing secure scripts Client-server programming Internet applications programming with mail, news, ftp, and telnet CGI and mod_perl programming Web programming Since its first release in 1998, Perl Cookbook has earned its place in the libraries of serious Perl users of all levels of expertise by providing practical answers, code examples, and mini-tutorials addressing the challenges that programmers face. Now the second edition of this bestselling book is ready to earn its place among the ranks of favorite Perl books as well.Whether you're a novice or veteran Perl programmer, you'll find Perl Cookbook, 2nd Edition to be one of the most useful books on Perl available. Its comfortable discussion style and accurate attention to detail cover just about any topic you'd want to know about. You can get by without having this book in your library, but once you've tried a few of the recipes, you won't want to.

Perl One-Liners

130 Programs That Get Things Done

Author: Peteris Krumins

Publisher: No Starch Press

ISBN: 159327520X

Category: Computers

Page: 168

View: 7229

Part of the fun of programming in Perl lies in tackling tedious tasks with short, efficient, and reusable code. Often, the perfect tool is the one-liner, a small but powerful program that fits in one line of code and does one thing really well. In Perl One-Liners, author and impatient hacker Peteris Krumins takes you through more than 100 compelling one-liners that do all sorts of handy things, such as manipulate line spacing, tally column values in a table, and get a list of users on a system. This cookbook of useful, customizable, and fun scripts will even help hone your Perl coding skills, as Krumins dissects the code to give you a deeper understanding of the language. You'll find one-liners that: * Encode, decode, and convert strings * Generate random passwords * Calculate sums, factorials, and the mathematical constants π and e * Add or remove spaces * Number lines in a file * Print lines that match a specific pattern * Check to see if a number is prime with a regular expression * Convert IP address to decimal form * Replace one string with another And many more! Save time and sharpen your coding skills as you learn to conquer those pesky tasks in a few precisely placed keystrokes with Perl One-Liners.

Learning Perl

Author: Randal Schwartz,brian foy,Tom Phoenix

Publisher: "O'Reilly Media, Inc."

ISBN: 1449303587

Category: Computers

Page: 363

View: 8143

Shows how to write, debug, and run a Perl program, describes CGI scripting and data manipulation, and describes scalar values, basic operators, and associative arrays.

MySQL and Perl for the Web

Author: Paul DuBois

Publisher: Sams Publishing

ISBN: 9780735710542

Category: Computers

Page: 529

View: 1223

MySQL and Perl for the Web provides a much-needed handbook for database and Web developers seeking an extensive and detailed guide for using the combination of MySQL and Perl to build dynamic and interactive database-backed Web sites. It shows how to use Perl's DBI database access module, pairing it with with the CGI.pm module that allows Web pages and forms to be generated and processed easily. These tools provide developers with a solid foundation for creating applications that incorporate database content to create dynamic, up-to-date Web sites. The book employs a practical learn-by-doing approach that demonstrates development techniques by building complete applications, not just fragmentary pieces. It shows what to do at each step of the way during the process of building live, working examples. Applications are fully explained so you can understand how they work and apply the techniques they illustrate to your own projects.

Perl Hacks

Tips & Tools for Programming, Debugging, and Surviving

Author: Chromatic,Damian Conway,Curtis Poe

Publisher: "O'Reilly Media, Inc."

ISBN: 0596526741

Category: Computers

Page: 273

View: 9130

A guide to getting the most out of Perl covers such topics as productivity hacks, user interaction, data munging, working with modules, object hacks, and debugging.

Intermediate Perl

Author: Randal Schwartz,brian foy,Tom Phoenix

Publisher: "O'Reilly Media, Inc."

ISBN: 1449393098

Category: Computers

Page: 371

View: 8622

Presents guidelines on the art of coding with Perl, covering such topics as references and scoping, manipulating complex data structures, objects, testing, Exporter, Moose, and CPAN.

Mastering Perl

Author: brian d foy

Publisher: "O'Reilly Media, Inc."

ISBN: 9780596551476

Category: Computers

Page: 346

View: 2613

This is the third in O'Reilly's series of landmark Perl tutorials, which started with Learning Perl, the bestselling introduction that taught you the basics of Perl syntax, and Intermediate Perl, which taught you how to create re-usable Perl software. Mastering Perl pulls everything together to show you how to bend Perl to your will. It convey's Perl's special models and programming idioms. This book isn't a collection of clever tricks, but a way of thinking about Perl programming so you can integrate the real-life problems of debugging, maintenance, configuration, and other tasks you encounter as a working programmer. The book explains how to: Use advanced regular expressions, including global matches, lookarounds, readable regexes, and regex debugging Avoid common programing problems with secure programming techniques Profile and benchmark Perl to find out where to focus your improvements Wrangle Perl code to make it more presentable and readable See how Perl keeps track of package variables and how you can use that for some powerful tricks Define subroutines on the fly and turn the tables on normal procedural programming. Modify and jury rig modules to fix code without editing the original source Let your users configure your programs without touching the code Learn how you can detect errors Perl doesn't report, and how to tell users about them Let your Perl program talk back to you by using Log4perl Store data for later use in another program, a later run of the same program, or to send them over a network Write programs as modules to get the benefit of Perl's distribution and testing tools Appendices include "brian's Guide to Solving Any Perl Problem" to improve your troubleshooting skills, as well as suggested reading to continue your Perl education. Mastering Perl starts you on your path to becoming the person with the answers, and, failing that, the person who knows how to find the answers or discover the problem.

Beginning Perl

Author: Curtis Poe

Publisher: John Wiley & Sons

ISBN: 1118235630

Category: Computers

Page: 744

View: 8122

Everything beginners need to start programming with Perl Perl is the ever-popular, flexible, open source programming language that has been called the programmers’ Swiss army knife. This book introduces Perl to both new programmers and experienced ones who are looking to learn a new language. In the tradition of the popular Wrox Beginning guides, it presents step-by-step guidance in getting started, a host of try-it-out exercises, real-world examples, and everything necessary for a Perl novice to start programming with confidence. Introduces Perl to both new programmers and experienced ones who want to learn a new language Provides a host of real-world applications for today's environments so readers can get started immediately Covers the new features of Perl but fully applicable to previous editions Beginning Perl provides the information and instruction you need to confidently get started with Perl. For Instructors: Classroom and training support material are available for this book.

Beginning Perl

Author: Simon Cozens,Peter Wainwright

Publisher: Apress

ISBN: 9781861003140

Category: Computers

Page: 647

View: 2102

This text sets out to promote the use of Perl as a programming language, encouraging the creation of legible and sensible programmes so as to dispel the image of Perl as a confusing and obscure language. In other words: no matter what your current experience level is in the world of Perl, this book is aimed at you. It covers both basic and advanced aspects of Perl, Apache modPerl and Perlscript for use with Wintel systems and stresses the cross-platform nature of Perl, with extensive examples and techniques.

Beginning Perl for Bioinformatics

An Introduction to Perl for Biologists

Author: James Tisdall

Publisher: "O'Reilly Media, Inc."

ISBN: 9780596550479

Category: Computers

Page: 386

View: 9668

With its highly developed capacity to detect patterns in data, Perl has become one of the most popular languages for biological data analysis. But if you're a biologist with little or no programming experience, starting out in Perl can be a challenge. Many biologists have a difficult time learning how to apply the language to bioinformatics. The most popular Perl programming books are often too theoretical and too focused on computer science for a non-programming biologist who needs to solve very specific problems.Beginning Perl for Bioinformatics is designed to get you quickly over the Perl language barrier by approaching programming as an important new laboratory skill, revealing Perl programs and techniques that are immediately useful in the lab. Each chapter focuses on solving a particular bioinformatics problem or class of problems, starting with the simplest and increasing in complexity as the book progresses. Each chapter includes programming exercises and teaches bioinformatics by showing and modifying programs that deal with various kinds of practical biological problems. By the end of the book you'll have a solid understanding of Perl basics, a collection of programs for such tasks as parsing BLAST and GenBank, and the skills to take on more advanced bioinformatics programming. Some of the later chapters focus in greater detail on specific bioinformatics topics. This book is suitable for use as a classroom textbook, for self-study, and as a reference.The book covers: Programming basics and working with DNA sequences and strings Debugging your code Simulating gene mutations using random number generators Regular expressions and finding motifs in data Arrays, hashes, and relational databases Regular expressions and restriction maps Using Perl to parse PDB records, annotations in GenBank, and BLAST output

Perl Programming for the Absolute Beginner

Author: Jerry Lee Ford

Publisher: Course Technology Ptr

ISBN: 9781598632224

Category: Computers

Page: 381

View: 8166

Covers the basics of developing Perl scripts and includes instructions for creating simple games.

Object Oriented Perl

Author: Damian Conway

Publisher: Manning Publications

ISBN: N.A

Category: Computers

Page: 490

View: 3465

Techniques and tricks to master basic and advanced OO Perl for programmers who already have basic to intermediate skills in procedural Perl.

Automating System Administration with Perl

Tools to Make You More Efficient

Author: David N. Blank-Edelman

Publisher: "O'Reilly Media, Inc."

ISBN: 0596555636

Category: Computers

Page: 670

View: 9142

If you do systems administration work of any kind, you have to deal with the growing complexity of your environment and increasing demands on your time. Automating System Administration with Perl, Second Edition, not only offers you the right tools for your job, but also suggests the best way to approach specific problems and to securely automate recurring tasks. Updated and expanded to cover the latest operating systems, technologies, and Perl modules, this edition of the "Otter Book" will help you: Manage user accounts Monitor filesystems and processes Work with configuration files in important formats such as XML and YAML Administer databases, including MySQL, MS-SQL, and Oracle with DBI Work with directory services like LDAP and Active Directory Script email protocols and spam control Effectively create, handle, and analyze log files Administer network name and configuration services, including NIS, DNS and DHCP Maintain, monitor, and map network services, using technologies and tools such as SNMP, nmap, libpcap, GraphViz and RRDtool Improve filesystem, process, and network security This edition includes additional appendixes to get you up to speed on technologies such as XML/XPath, LDAP, SNMP, and SQL. With this book in hand and Perl in your toolbox, you can do more with less -- fewer resources, less effort, and far less hassle.

Learning Perl/Tk

Author: Nancy Walsh

Publisher: Oreilly & Associates Incorporated

ISBN: 9781565923140

Category: Computers

Page: 358

View: 5307

An illustrated tutorial shows how to use Perl/Tk to build graphical, event-driven applications for both Windows and UNIX and teaches how to implement and configure each Perl/Tk graphical element. Original. (Intermediate).

Advanced Perl Programming

The Worlds Most Highly Developed Perl Tutorial

Author: Simon Cozens

Publisher: "O'Reilly Media, Inc."

ISBN: 9781449378912

Category: Computers

Page: 300

View: 4672

With a worldwide community of users and more than a million dedicated programmers, Perl has proven to be the most effective language for the latest trends in computing and business.Every programmer must keep up with the latest tools and techniques. This updated version of Advanced Perl Programming from O'Reilly gives you the essential knowledge of the modern Perl programmer. Whatever your current level of Perl expertise, this book will help you push your skills to the next level and become a more accomplished programmer.O'Reilly's most high-level Perl tutorial to date, Advanced Perl Programming, Second Edition teaches you all the complex techniques for production-ready Perl programs. This completely updated guide clearly explains concepts such as introspection, overriding built-ins, extending Perl's object-oriented model, and testing your code for greater stability.Other topics include: Complex data structures Parsing Templating toolkits Working with natural language data Unicode Interaction with C and other languages In addition, this guide demystifies once complex topics like object-relational mapping and event-based development-arming you with everything you need to completely upgrade your skills.Praise for the Second Edition:"Sometimes the biggest hurdle to problem solving isn't the subject itself but rather the sheer number of modules Perl provides. Advanced Perl Programming walks you through Perl's TMTOWTDI ("There's More Than One Way To Do It") forest, explaining and comparing the best modules for each task so you can intelligently apply them in a variety of situations." --Rocco Caputo, lead developer of POE"It has been said that sufficiently advanced Perl code is indistinguishable from magic. This book of spells goes a long way to unlocking those secrets. It has the power to transform the most humble programmer into a Perl wizard." --Andy Wardley"The information here isn't theoretical. It presents tools and techniques for solving real problems cleanly and elegantly." --Curtis 'Ovid' Poe" Advanced Perl Programming collects hard-earned knowledge from some of the best programmers in the Perl community, and explains it in a way that even novices can apply immediately." --chromatic, Editor of Perl.com

Programming the Perl DBI

Database programming with Perl

Author: Tim Bunce,Alligator Descartes

Publisher: "O'Reilly Media, Inc."

ISBN: 1449315364

Category: Computers

Page: 366

View: 4060

One of the greatest strengths of the Perl programming language is its ability to manipulate large amounts of data. Database programming is therefore a natural fit for Perl, not only for business applications but also for CGI-based web and intranet applications.The primary interface for database programming in Perl is DBI. DBI is a database-independent package that provides a consistent set of routines regardless of what database product you use--Oracle, Sybase, Ingres, Informix, you name it. The design of DBI is to separate the actual database drivers (DBDs) from the programmer's API, so any DBI program can work with any database, or even with multiple databases by different vendors simultaneously.Programming the Perl DBI is coauthored by Alligator Descartes, one of the most active members of the DBI community, and by Tim Bunce, the inventor of DBI. For the uninitiated, the book explains the architecture of DBI and shows you how to write DBI-based programs. For the experienced DBI dabbler, this book reveals DBI's nuances and the peculiarities of each individual DBD.The book includes: An introduction to DBI and its design How to construct queries and bind parameters Working with database, driver, and statement handles Debugging techniques Coverage of each existing DBD A complete reference to DBI This is the definitive book for database programming in Perl.

Perl in a Nutshell

A Desktop Quick Reference

Author: Nathan Patwardhan,Ellen Siever,Stephen Spainhour

Publisher: "O'Reilly Media, Inc."

ISBN: 9781449378820

Category: Computers

Page: 762

View: 9539

This complete guide to the Perl programming language ranges widely through the Perl programmer's universe, gathering together in a convenient form a wealth of information about Perl itself and its application to CGI scripts, XML processing, network programming, database interaction, and graphical user interfaces. The book is an ideal reference for experienced Perl programmers and beginners alike.With more than a million dedicated programmers, Perl is proving to be the best language for the latest trends in computing and business, including network programming and the ability to create and manage web sites. It's a language that every Unix system administrator and serious web developer needs to know. In the past few years, Perl has found its way into complex web applications of multinational banks, the U.S. Federal Reserve, and hundreds of large corporations.In this second edition, Perl in a Nutshell has been expanded to include coverage of Perl 5.8, with information on Unicode processing in Perl, new functions and modules that have been added to the core language, and up-to-date details on running Perl on the Win32 platform. The book also covers Perl modules for recent technologies such as XML and SOAP.Here are just some of the topics contained in this book: Basic Perl reference Quick reference to built-in functions and standard modules CGI.pm and mod_perl XML::* modules DBI, the database-independent API for Perl Sockets programming LWP, the library for Web programming in Perl Network programming with the Net modules Perl/Tk, the Tk extension to Perl for graphical interfaces Modules for interfacing with Win32 systems As part of the successful "in a Nutshell" book series from O'Reilly & Associates, Perl in a Nutshell is for readers who want a single reference for all their needs."In a nutshell, Perl is designed to make the easy jobs easy, without making the hard jobs impossible."-- Larry Wall, creator of Perl

Unix Power Tools

Author: Shelley Powers,Jerry Peek,Tim O'Reilly,Mike Loukides,Michael Kosta Loukides

Publisher: "O'Reilly Media, Inc."

ISBN: 0596003307

Category: Computers

Page: 1116

View: 3152

By its very nature, Unix is a " power tools " environment. Even beginning Unix users quickly grasp that immense power exists in shell programming, aliases and history mechanisms, and various editing tools. Nonetheless, few users ever really master the power available to them with Unix. There is just too much to learn! Unix Power Tools, Third Edition, literally contains thousands of tips, scripts, and techniques that make using Unix easier, more effective, and even more fun. This book is organized into hundreds of short articles with plenty of references to other sections that keep you flipping from new article to new article. You'll find the book hard to put down as you uncover one interesting tip after another. With the growing popularity of Linux and the advent of Mac OS X, Unix has metamorphosed into something new and exciting. With Unix no longer perceived as a difficult operating system, more and more users are discovering its advantages for the first time. The latest edition of this best-selling favorite is loaded with advice about almost every aspect of Unix, covering all the new technologies that users need to know. In addition to vital information on Linux, Mac OS X, and BSD, Unix Power Tools, Third Edition, now offers more coverage of bcash, zsh, and new shells, along with discussions about modern utilities and applications. Several sections focus on security and Internet access, and there is a new chapter on access to Unix from Windows, addressing the heterogeneous nature of systems today. You'll also find expanded coverage of software installation and packaging, as well as basic information on Perl and Python. The book's accompanying web site provides some of the best software available to Unix users, which you can download and add to your own set of power tools. Whether you are a newcomer or a Unix power user, you'll find yourself thumbing through the gold mine of information in this new edition of Unix Power Tools to add to your store of knowledge. Want to try something new? Check this book first, and you're sure to find a tip or trick that will prevent you from learning things the hard way.