• Complain

Schwartz Randal Phoenix Tom foy brian - Intermediate Perl

Here you can read online Schwartz Randal Phoenix Tom foy brian - Intermediate Perl full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. City: Sebastopol, year: 2009, publisher: OReilly Media, Inc, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

No cover

Intermediate Perl: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Intermediate Perl" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Perl programmers need a clear roadmap for improving their skills. Intermediate Perl teaches a working knowledge of Perls objects, references, and modules -- all of which makes the language so versatile and effective. Written by the authors of the bestselling Llama book, Learning Perl, this guide offers a gentle but thorough introduction to intermediate programming in Perl. Topics include packages and namespaces, references and scoping, manipulating complex data structures, writing and using modules, package implementation, and using CPAN. Read more...
Abstract: Perl programmers need a clear roadmap for improving their skills. Intermediate Perl teaches a working knowledge of Perls objects, references, and modules -- all of which makes the language so versatile and effective. Written by the authors of the bestselling Llama book, Learning Perl, this guide offers a gentle but thorough introduction to intermediate programming in Perl. Topics include packages and namespaces, references and scoping, manipulating complex data structures, writing and using modules, package implementation, and using CPAN

Schwartz Randal Phoenix Tom foy brian: author's other books


Who wrote Intermediate Perl? Find out the surname, the name of the author of the book and a list of all author's works by series.

Intermediate Perl — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Intermediate Perl" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Intermediate Perl
Randal L. Schwartz
brian d foy
Tom Phoenix
Editor
Tatiana Apandi
Editor
Allison Randal

Copyright 2009 O'Reilly Media, Inc.

OReilly Media SPECIAL OFFER Upgrade this ebook with OReilly for more - photo 1

O'Reilly Media

SPECIAL OFFER: Upgrade this ebook with OReilly

for more information on this offer!

Please note that upgrade offers are not available from sample content.

A Note Regarding Supplemental Files

Supplemental files and examples for this book can be found at http://examples.oreilly.com/9780596102067/. Please use a standard desktop web browser to access these files, as they may not be accessible from all ereader devices.

All code files or examples referenced in the book will be available online. For physical books that ship with an accompanying disc, whenever possible, weve posted all CD/DVD content. Note that while we provide as much of the media content as we are able via free download, we are sometimes limited by licensing restrictions. Please direct any questions or concerns to .

Foreword

Perl's object-oriented (OO) mechanism is classic prestidigitation. It takes a collection of Perl's existing non-OO features, such as packages, references, hashes, arrays, subroutines, and modules, and thenwith nothing up its sleevemanages to conjure up fully functional objects, classes, and methods, seemingly out of nowhere.

That's a great trick. It means you can build on your existing Perl knowledge and ease your way into OO Perl development, without first needing to conquer a mountain of new syntax or navigate an ocean of new techniques. It also means you can progressively fine-tune OO Perl to meet your own needs, by selecting from the existing constructs the one that best suits your task.

But there's a problem. Since Perl co-opts packages, references, hashes, arrays, subroutines, and modules as the basis for its OO mechanism, to use OO Perl you already need to understand packages, references, hashes, arrays, subroutines, and modules.

And there's the rub. The learning curve hasn't been eliminated; it's merely been pushed back half a dozen steps.

So then, how are you going to learn everything you need to know about non-OO Perl so you can start to learn everything you need to know about OO Perl?

This book is the answer. In the following pages, Randal draws on two decades of using Perl, and four decades of watching Gilligan's Island and Mr. Ed , to explain each of the components of Perl that collectively underpin its OO features. And, better still, he then goes on to show exactly how to combine those components to create useful classes and objects.

So if you still feel like Gilligan when it comes to Perl's objects, references, and modules, this book is just what the Professor ordered.

And that's straight from the horse's mouth.

-- Damian Conway, May 2003
Preface

Over a decade ago (nearly eternity in Internet Time), Randal Schwartz wrote the first edition of Learning Perl . In the intervening years, Perl itself has grown substantially from a "cool" scripting language used primarily by Unix system administrators to a robust object-oriented programming (OOP) language that runs on practically every computing platform known to mankind.

Throughout its four editions, Learning Perl remained the same size (about 300 pages) and continued to cover much of the same material to remain compact and accessible to the beginning programmer. But there is much more to learn about Perl now than when that first book was written.

Randal called the first edition of this book Learning Perl Objects, References, and Modules , and now it's Intermediate Perl , but we like to think of it as just Learning More Perl .[] This is the book that picks up where Learning Perl leaves off. We show you how to use Perl to write larger programs.

As in Learning Perl , we designed each chapter to be small enough to read in just an hour or so. Each chapter ends with a series of exercises to help you practice what you've just learned, and the answers are in the appendix for your reference. And like Learning Perl , we've developed the material in this book for a teaching environment and used it in that setting, including for our own use at Stonehenge Consulting Services, as we conduct on-site and open-enrollment trainings.

You don't have to be a Unix guru, or even a Unix user, to benefit from this book. Unless otherwise noted, everything in this book applies equally well to Windows ActivePerl from ActiveState and all other modern implementations of Perl. To use this book, you just need to be familiar with the material in Learning Perl and have the ambition to go further.

Structure of This Book

You should read this book from front to back, stopping to do the exercises. Each chapter builds on preceding chapters, and we'll assume that you know the material from those chapters as we discuss new topics.

, Introduction

An introduction to the material.

, Intermediate Foundations

Pick up some intermediate Perl skills you'll need for the rest of the book.

, Using Modules

Use Perl's core modules, as well as modules from other people. We're going to show you how to create your own modules later in the book, but until we do, you can still use modules you already have.

, Introduction to References

Introduce a level of redirection to allow the same code to operate on different sets of data.

, References and Scoping

Learn how Perl manages to keep track of pointers to data, and an introduction to anonymous data structures and autovivification.

, Manipulating Complex Data Structures

Create, access, and print arbitrarily deep and nested data structures, including arrays of arrays and hashes of hashes.

, Subroutine References

Capture behavior as an anonymous subroutine that you create dynamically and execute later.

, Filehandle References

Store filehandles in scalar variables that you can easily pass around your program or store in data structures.

, Practical Reference Tricks

Sorting complex operations, the Schwartzian Transform , and working with recursively defined data.

, Building Larger Programs

Build larger programs by separating code into separate files and namespaces.

, Introduction to Objects

Work with classes, method calls, inheritance, and overriding.

, Objects with Data

Add per-instance data, including constructors, getters, and setters.

, Object Destruction

Add behavior to an object that is going away, including object persistence.

, Some Advanced Object Topics

Use multiple inheritance, automatic methods, and references to filehandles.

, Exporter

How use works, how we can decide what to export, and how we can create our own import routines.

, Writing a Distribution

Package a module for sharing, including portable installation instructions.

, Essential Testing

Test your code to ensure it does what you want it to do.

, Advanced Testing

Test complex aspects of code and meta-code things such as documentation and test coverage.

, Contributing to CPAN

Share your work with the world by uploading it to CPAN.

, Answers to Exercises
Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Intermediate Perl»

Look at similar books to Intermediate Perl. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Intermediate Perl»

Discussion, reviews of the book Intermediate Perl and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.