reklama - zainteresowany?

Learning Perl Objects, References, and Modules - Helion

Learning Perl Objects, References, and Modules
ebook
Autor: Randal L. Schwartz, Tom Phoenix
ISBN: 978-14-493-6569-1
stron: 224, Format: ebook
Data wydania: 2003-06-09
Księgarnia: Helion

Cena książki: 109,65 zł (poprzednio: 127,50 zł)
Oszczędzasz: 14% (-17,85 zł)

Dodaj do koszyka Learning Perl Objects, References, and Modules

Tagi: Perl - Programowanie | Perl/CGI - Programowanie

Perl is a versatile, powerful programming language used in a variety of disciplines, ranging from system administration to web programming to database manipulation. One slogan of Perl is that it makes easy things easy and hard things possible. This book is about making the leap from the easy things to the hard ones.Learning Perl Objects, References & Modules offers a gentle but thorough introduction to advanced programming in Perl. Written by the authors of the best-selling Learning Perl, this book picks up where that book left off. Topics include:

  • Packages and namespaces
  • References and scoping
  • Manipulating complex data structures
  • Object-oriented programming
  • Writing and using modules
  • Contributing to CPAN
Following the successful format of Learning Perl, each chapter in the book is designed to be small enough to be read in just an hour or two, ending with a series of exercises to help you practice what you've learned. To use the book, you just need to be familiar with the material in Learning Perl and have ambition to go further.Perl is a different language to different people. It is a quick scripting tool for some, and a fully-featured object-oriented language for others. It is used for everything from performing quick global replacements on text files, to crunching huge, complex sets of scientific data that take weeks to process. Perl is what you make of it. But regardless of what you use Perl for, this book helps you do it more effectively, efficiently, and elegantly.Learning Perl Objects, References & Modules is about learning to use Perl as a programming language, and not just a scripting language. This is the book that separates the Perl dabbler from the Perl programmer.

Dodaj do koszyka Learning Perl Objects, References, and Modules

 

Osoby które kupowały "Learning Perl Objects, References, and Modules", wybierały także:

  • Perl. Mistrzostwo w programowaniu
  • Wielkie umysÅ‚y programowania. Jak myÅ›lÄ… i pracujÄ… twórcy najważniejszych jÄ™zyków
  • Learning Perl. Making Easy Things Easy and Hard Things Possible. 7th Edition
  • 100 sposobów na Perl
  • Mastering Perl. 2nd Edition

Dodaj do koszyka Learning Perl Objects, References, and Modules

Spis treści

Learning Perl Objects, References, and Modules eBook -- spis treści

  • Learning Perl Objects, References & Modules
  • A Note Regarding Supplemental Files
  • Foreword
  • Preface
    • Structure of This Book
    • Conventions Used in This Book
    • Comments and Questions
    • Acknowledgments
  • 1. Introduction
    • What Should You Know Already?
    • What About All Those Footnotes?
    • Whats with the Exercises?
    • What if Im a Perl Course Instructor?
  • 2. Building Larger Programs
    • The Cure for the Common Code
    • Inserting Code with eval
    • Using do
    • Using require
    • require and @INC
      • Extending @INC
      • Extending @INC with PERL5LIB
      • Extending @INC with -I
    • The Problem of Namespace Collisions
    • Packages as Namespace Separators
    • Scope of a Package Directive
    • Packages and Lexicals
    • Exercises
      • Exercise 1 [30 min]
      • Exercise 2 [10 min]
  • 3. Introduction to References
    • Performing the Same Task on Many Arrays
    • Taking a Reference to an Array
    • Dereferencing the Array Reference
    • Dropping Those Braces
    • Modifying the Array
    • Nested Data Structures
    • Simplifying Nested Element References with Arrows
    • References to Hashes
    • Exercises
      • Exercise 1 [5 min]
      • Exercise 2 [30 min]
  • 4. References and Scoping
    • More than One Reference to Data
    • What if That Was the Name?
    • Reference Counting and Nested Data Structures
    • When Reference Counting Goes Bad
    • Creating an Anonymous Array Directly
    • Creating an Anonymous Hash
    • Autovivification
    • Autovivification and Hashes
    • Exercises
      • Exercise 1 [5 min]
      • Exercise 2 [30 min]
  • 5. Manipulating Complex Data Structures
    • Using the Debugger to View Complex Data
    • Viewing Complex Data with Data::Dumper
    • Storing Complex Data with Storable
    • The map and grep Operators
    • Using map
    • Applying a Bit of Indirection
    • Selecting and Altering Complex Data
    • Exercises
      • Exercise 1 [20 min]
      • Exercise 2 [5 min]
  • 6. Subroutine References
    • Referencing a Named Subroutine
    • Anonymous Subroutines
    • Callbacks
    • Closures
    • Returning a Subroutine from a Subroutine
    • Closure Variables as Inputs
    • Closure Variables as Static Local Variables
    • Exercise
      • Exercise [30 min]
  • 7. Practical Reference Tricks
    • Review of Sorting
    • Sorting with Indices
    • Sorting Efficiently
    • The Schwartzian Transform
    • Recursively Defined Data
    • Building Recursively Defined Data
    • Displaying Recursively Defined Data
    • Exercises
      • Exercise 1 [15 min]
      • Exercise 2 [15 min]
      • Exercise 3 [10 min]
      • Exercise 4 [20 min]
  • 8. Introduction to Objects
    • If We Could Talk to the Animals...
    • Introducing the Method Invocation Arrow
    • The Extra Parameter of Method Invocation
    • Calling a Second Method to Simplify Things
    • A Few Notes About @ISA
    • Overriding the Methods
    • Starting the Search from a Different Place
    • The SUPER Way of Doing Things
    • What to Do with @_
    • Where We Are So Far...
    • Exercises
      • Exercise 1 [20 min]
      • Exercise 2 [40 min]
  • 9. Objects with Data
    • A Horse Is a Horse, of Course of Courseor Is It?
    • Invoking an Instance Method
    • Accessing the Instance Data
    • How to Build a Horse
    • Inheriting the Constructor
    • Making a Method Work with Either Classes or Instances
    • Adding Parameters to a Method
    • More Interesting Instances
    • A Horse of a Different Color
    • Getting Your Deposit Back
    • Dont Look Inside the Box
    • Faster Getters and Setters
    • Getters That Double as Setters
    • Restricting a Method to Class-Only or Instance-Only
    • Exercise
      • Exercise [45 min]
  • 10. Object Destruction
    • Nested Object Destruction
    • Beating a Dead Horse
    • Indirect Object Notation
    • Additional Instance Variables in Subclasses
    • Using Class Variables
    • Weakening the Argument
    • Exercise
      • Exercise [45 min]
  • 11. Some Advanced Object Topics
    • UNIVERSAL Methods
    • Testing Your Objects for Good Behavior
    • AUTOLOAD as a Last Resort
    • Using AUTOLOAD for Accessors
    • Creating Getters and Setters More Easily
    • Multiple Inheritance
    • References to Filehandles
    • Exercise
      • Exercise [30 min]
  • 12. Using Modules
    • Sample Function-Oriented Interface: File::Basename
    • Selecting What to Import
    • Sample Object-Oriented Interface: File::Spec
    • A More Typical Object-Oriented Module: Math::BigInt
    • The Differences Between OO and Non-OO Modules
    • What use Is Doing
    • Setting the Path at the Right Time
    • Importing with Exporter
    • @EXPORT and @EXPORT_OK
    • Exporting in a Primarily OO Module
    • Custom Import Routines
    • Exercise
      • Exercise [15 min]
  • 13. Writing a Distribution
    • Starting with h2xs
    • Looking at the Templates
    • The Prototype Module Itself
    • Embedded Documentation
    • Controlling the Distribution with Makefile.PL
    • Alternate Installation Locations (PREFIX=...)
    • Trivial make test
    • Trivial make install
    • Trivial make dist
    • Using the Alternate Library Location
    • Exercise
      • Exercise [30 min]
  • 14. Essential Testing
    • What the Test Harness Does
    • Writing Tests with Test::Simple
    • Writing Tests with Test::More
    • Conditional Tests
    • More Complex Tests (Multiple Test Scripts)
    • Testing Things That Write to STDOUT and STDERR
    • Exercise
      • Exercise [60 min]
  • 15. Contributing to CPAN
    • The Comprehensive Perl Archive Network
    • Getting Prepared
    • Preparing Your Distribution
    • Uploading Your Distribution
    • Announcing the Module
    • Testing on Multiple Platforms
    • Consider Writing an Article or Giving a Talk
    • Exercise
      • Exercise
  • A. Answers to Exercises
    • Answers for Chapter 2
      • Exercise 1 (Exercise 1 [30 min])
      • Exercise 2 (Exercise 2 [10 min])
    • Answers for Chapter 3
      • Exercise 1 (Exercise 1 [5 min])
      • Exercise 2 (Exercise 2 [30 min])
    • Answers for Chapter 4
      • Exercise 1 (Exercise 1 [5 min])
      • Exercise 2 (Exercise 2 [30 min])
    • Answers for Chapter 5
      • Exercise 1 (Exercise 1 [20 min])
      • Exercise 2 (Exercise 2 [5 min])
    • Answer for Chapter 6
      • Exercise (Exercise [30 min])
    • Answers for Chapter 7
      • Exercise 1 (Exercise 1 [15 min])
      • Exercise 2 (Exercise 2 [15 min])
      • Exercise 3 (Exercise 3 [10 min])
      • Exercise 4 (Exercise 4 [20 min])
    • Answers for Chapter 8
      • Exercise 1 (Exercise 1 [20 min])
      • Exercise 2 (Exercise 2 [40 min])
    • Answer for Chapter 9
      • Exercise (Exercise [45 min])
    • Answer for Chapter 10
      • Exercise (Exercise [45 min])
    • Answer for Chapter 11
      • Exercise (Exercise [30 min])
    • Answer for Chapter 12
      • Exercise (Exercise [15 min])
    • Answers for Chapters 13-15
  • Index
  • About the Authors
  • Colophon
  • Copyright

Dodaj do koszyka Learning Perl Objects, References, and Modules

Code, Publish & WebDesing by CATALIST.com.pl



(c) 2005-2024 CATALIST agencja interaktywna, znaki firmowe należą do wydawnictwa Helion S.A.