Perl & LWP

Perl & LWP PDF Author: Sean M. Burke
Publisher: "O'Reilly Media, Inc."
ISBN: 0596552092
Category : Computers
Languages : en
Pages : 263

Get Book Here

Book Description
Perl soared to popularity as a language for creating and managing web content, but with LWP (Library for WWW in Perl), Perl is equally adept at consuming information on the Web. LWP is a suite of modules for fetching and processing web pages.The Web is a vast data source that contains everything from stock prices to movie credits, and with LWP all that data is just a few lines of code away. Anything you do on the Web, whether it's buying or selling, reading or writing, uploading or downloading, news to e-commerce, can be controlled with Perl and LWP. You can automate Web-based purchase orders as easily as you can set up a program to download MP3 files from a web site.Perl & LWP covers: Understanding LWP and its design Fetching and analyzing URLs Extracting information from HTML using regular expressions and tokens Working with the structure of HTML documents using trees Setting and inspecting HTTP headers and response codes Managing cookies Accessing information that requires authentication Extracting links Cooperating with proxy caches Writing web spiders (also known as robots) in a safe fashion Perl & LWP includes many step-by-step examples that show how to apply the various techniques. Programs to extract information from the web sites of BBC News, Altavista, ABEBooks.com, and the Weather Underground, to name just a few, are explained in detail, so that you understand how and why they work.Perl programmers who want to automate and mine the web can pick up this book and be immediately productive. Written by a contributor to LWP, and with a foreword by one of LWP's creators, Perl & LWP is the authoritative guide to this powerful and popular toolkit.

Perl & LWP

Perl & LWP PDF Author: Sean M. Burke
Publisher: "O'Reilly Media, Inc."
ISBN: 0596552092
Category : Computers
Languages : en
Pages : 263

Get Book Here

Book Description
Perl soared to popularity as a language for creating and managing web content, but with LWP (Library for WWW in Perl), Perl is equally adept at consuming information on the Web. LWP is a suite of modules for fetching and processing web pages.The Web is a vast data source that contains everything from stock prices to movie credits, and with LWP all that data is just a few lines of code away. Anything you do on the Web, whether it's buying or selling, reading or writing, uploading or downloading, news to e-commerce, can be controlled with Perl and LWP. You can automate Web-based purchase orders as easily as you can set up a program to download MP3 files from a web site.Perl & LWP covers: Understanding LWP and its design Fetching and analyzing URLs Extracting information from HTML using regular expressions and tokens Working with the structure of HTML documents using trees Setting and inspecting HTTP headers and response codes Managing cookies Accessing information that requires authentication Extracting links Cooperating with proxy caches Writing web spiders (also known as robots) in a safe fashion Perl & LWP includes many step-by-step examples that show how to apply the various techniques. Programs to extract information from the web sites of BBC News, Altavista, ABEBooks.com, and the Weather Underground, to name just a few, are explained in detail, so that you understand how and why they work.Perl programmers who want to automate and mine the web can pick up this book and be immediately productive. Written by a contributor to LWP, and with a foreword by one of LWP's creators, Perl & LWP is the authoritative guide to this powerful and popular toolkit.

Network Programming with Perl

Network Programming with Perl PDF Author: Lincoln D. Stein
Publisher: Addison-Wesley Professional
ISBN: 9780201615715
Category : Computers
Languages : en
Pages : 798

Get Book Here

Book Description
A text focusing on the methods and alternatives for designed TCP/IP-based client/server systems and advanced techniques for specialized applications with Perl. A guide examining a collection of the best third party modules in the Comprehensive Perl Archive Network. Topics covered: Perl function libraries and techniques that allow programs to interact with resources over a network. IO: Socket library ; Net: FTP library -- Telnet library -- SMTP library ; Chat problems ; Internet Message Access Protocol (IMAP) issues ; Markup-language parsing ; Internet Protocol (IP) broadcasting and multicasting.

Perl Cookbook

Perl Cookbook PDF Author: Tom Christiansen
Publisher: "O'Reilly Media, Inc."
ISBN: 0596554966
Category : Computers
Languages : en
Pages : 967

Get Book Here

Book Description
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 in a Nutshell

Perl in a Nutshell PDF Author: Nathan Patwardhan
Publisher: "O'Reilly Media, Inc."
ISBN: 144937882X
Category : Computers
Languages : en
Pages : 763

Get Book Here

Book Description
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

Writing Apache Modules with Perl and C

Writing Apache Modules with Perl and C PDF Author: Lincoln Stein
Publisher: "O'Reilly Media, Inc."
ISBN: 9781565925670
Category : Computers
Languages : en
Pages : 756

Get Book Here

Book Description
Apache is the most popular web server on the Internet because it is free, reliable, and extensible. The availability of the source code and the modular design of Apache makes it possible to extend web server functionality through the Apache API. For the most part, however, the Apache API has only been available to C programmers, and requires rebuilding the Apache server from source. mod_perl, the popular Apache module used primarily for enhanced CGI performance, changed all that by making the Apache API available to Perl programmers. With mod_perl, it becomes simple to develop Apache modules with Perl and install them without having to rebuild the web server. Writing Apache Modules with Perl and C shows how to extend web server capabilities regardless of whether the programming language is Perl or C. The book explains the design of Apache, mod_perl, and the Apache API. It then demonstrates how to use them to perform for tasks like the following: Rewriting CGI scripts as Apache modules to vastly improve performance Server-side filtering of HTML documents, to embed special markup or code (much like SSI) Enhancing server log functionality Converting file formats on the fly Implementing dynamic navigation bars Incorporating database access into CGI scripts Customizing access control and authorization to block robots or to use an external database for passwords The authors are Lincoln Stein and Doug MacEachern. Lincoln is the successful author of How to Set Up and Maintain a World Wide web Site and the developer of the widely used Perl CGI.pm module. Doug is a consultant and the creator of the innovative mod_perl Apache module.

Beginning Perl

Beginning Perl PDF Author: James Lee
Publisher: Apress
ISBN: 1430206659
Category : Computers
Languages : en
Pages : 448

Get Book Here

Book Description
* Functions as the most up-to-date beginner’s Perl book, current through Perl version 5.8.2. * Covers what a new Perl programmer needs to know, using real-world examples. * Surpasses the first edition; more concise and focused.

Minimal Perl

Minimal Perl PDF Author: Tim Maher
Publisher: Manning Publications
ISBN: 1932394508
Category : Computers
Languages : en
Pages : 503

Get Book Here

Book Description
No-nonsense and practical, yet with wit and charm. A joy to read."" -Dan Sanderson, Software Developer, Amazon.com ""Shows style, not just facts-valuable."" -Brian Downs, former Training Director, Lucent Technologies ""Brilliant, never tedious-highly recommended!"" -Jon Allen, Maintainer of perldoc.perl.org ""You could have chosen no better primer than this book."" -Damian Conway, from the Foreword Perl is a complex language that can be difficult to master. Perl advocates boast that ""There's More Than One Way To Do It,"" but do you really want to learn several ways of saying the same thing to a computer? To make Perl more accessible, Dr. Tim Maher has over the years designed and taught an essential subset of the language that is smaller, yet practical and powerful. With this engaging book you can now benefit from ""Minimal Perl,"" even if all you know about Unix is grep. You will learn how to write simple Perl commands-many just one-liners-that go far beyond the limitations of Unix utilities, and those of Linux, MacOS/X, etc. And you'll acquire the more advanced Perl skills used in scripts by capitalizing on your knowledge of related Shell resources. Sprinkled throughout are many Unix-specific Perl tips. This book is especially suitable for system administrators, webmasters, and software developers.

Beginning Perl Web Development

Beginning Perl Web Development PDF Author: Steve Suehring
Publisher: Apress
ISBN: 1430200898
Category : Computers
Languages : en
Pages : 361

Get Book Here

Book Description
* Avoids proof-of-concept examples in favor of teaching readers how to produce well-coded secure CGI applications that will stand up to the demands of being placed into the potentially hostile environment of the Internet. * Takes a holistic approach to web application development and includes instruction on how to use ancillary programs such as Mason and Nagios that the reader will need to be familiar with in order to progress. * The book’s comprehensive scope tackles all the areas of Perl web application development the reader is likely to need in creating their first web applications.

Higher-Order Perl

Higher-Order Perl PDF Author: Mark Jason Dominus
Publisher: Elsevier
ISBN: 0080478344
Category : Computers
Languages : en
Pages : 601

Get Book Here

Book Description
Most Perl programmers were originally trained as C and Unix programmers, so the Perl programs that they write bear a strong resemblance to C programs. However, Perl incorporates many features that have their roots in other languages such as Lisp. These advanced features are not well understood and are rarely used by most Perl programmers, but they are very powerful. They can automate tasks in everyday programming that are difficult to solve in any other way. One of the most powerful of these techniques is writing functions that manufacture or modify other functions. For example, instead of writing ten similar functions, a programmer can write a general pattern or framework that can then create the functions as needed according to the pattern. For several years Mark Jason Dominus has worked to apply functional programming techniques to Perl. Now Mark brings these flexible programming methods that he has successfully taught in numerous tutorials and training sessions to a wider audience. * Introduces powerful programming methods new to most Perl programmers that were previously the domain of computer scientists* Gradually builds up confidence by describing techniques of progressive sophistication* Shows how to improve everyday programs and includes numerous engaging code examples to illustrate the methods

Programming the Network with Perl

Programming the Network with Perl PDF Author: Paul Barry
Publisher: John Wiley & Sons
ISBN: 047084941X
Category : Computers
Languages : en
Pages : 394

Get Book Here

Book Description
After providing an introduction to the Perl programming language, this helpful guide teaches computer networking using Perl. Topics discussed include ethernet network analysis, programming standard Internet protocols, and exploring mobile agent programming. * Each chapter provides a general discussion of the technologies under consideration, the support for programming the technologies as provided by Perl, and implementations of working examples * Covers Mobile Agent Technology, which is set to become one of the "next big things" on the Internet * Further information is supplied, including a listing of Web and print resources, programming exercises, and tips to expand the reader's understanding of the material