Learning Perl Objects, References & Modules

Learning Perl Objects, References <!-- **REPLACE WITH BANNER-MAP** -->amp; ModulesSearch this book

Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Index: C

callbacks
accessing variables: 6.4. Closures
6.5. Returning a Subroutine from a Subroutine
find( ) function and: 6.4. Closures
6.4. Closures
invoking subroutines multiple times: 6.5. Returning a Subroutine from a Subroutine
subroutine references and: 6.3. Callbacks
6.3. Callbacks
can method (UNIVERSAL): 11.2. Testing Your Objects for Good Behavior
11.2. Testing Your Objects for Good Behavior
can_ok function (Test::More): 14.3. Writing Tests with Test::More
catfile method (File::Spec): 12.3. Sample Object-Oriented Interface: File::Spec
CGI module: 12.11. Custom Import Routines
Changes file: 13.2. Looking at the Templates
class methods
building instances: 9.4. How to Build a Horse
File::Spec module and: 12.3. Sample Object-Oriented Interface: File::Spec
instance methods and: 9.2. Invoking an Instance Method
OO modules and: 12.5. The Differences Between OO and Non-OO Modules
restricting to: 9.14. Restricting a Method to Class-Only or Instance-Only
class variables: 10.5. Using Class Variables
classes
accessors and: 11.5. Creating Getters and Setters More Easily
defined: 8.2. Introducing the Method Invocation Arrow
instances and: 9.1. A Horse Is a Horse, of Course of Course--or Is It?
methods working with: 9.6. Making a Method Work with Either Classes or Instances
UNIVERSAL class and: 11.1. UNIVERSAL Methods
virtual methods and: A.8.1. Exercise (Section 9.15.1)
Class::MethodMaker module: 11.5. Creating Getters and Setters More Easily
closure variables: 6.7. Closure Variables as Static Local Variables
closures
functionality: 6.4. Closures
lexical variables and: 6.6. Closure Variables as Inputs
persistence and: 6.7. Closure Variables as Static Local Variables
scope and: 6.6. Closure Variables as Inputs
cmp operator: 7.1. Review of Sorting
cmp_ok routine (Test::More): 14.3. Writing Tests with Test::More
code (see also OOP)
decoupling: 3.3. Dereferencing the Array Reference
reusability of: 8.6. Overriding the Methods
12. Using Modules
testing coverage: 14. Essential Testing
ways to share: 2.1. The Cure for the Common Code
code references
AUTOLOAD method and: 11.4. Using AUTOLOAD for Accessors
overview: 6.1. Referencing a Named Subroutine
collisions, namespace: 2.6. The Problem of Namespace Collisions
12.3. Sample Object-Oriented Interface: File::Spec
comments: 4.9.2. Exercise 2 [30 min]
14.2. Writing Tests with Test::Simple
compile phase
AUTOLOAD and: 11.3. AUTOLOAD as a Last Resort
BEGIN keyword and: 6.7. Closure Variables as Static Local Variables
declarations during: 6.7. Closure Variables as Static Local Variables
use base and: 8.5. A Few Notes About @ISA
complex data structures (see data structures)
composition, inheritance versus: 10.4. Additional Instance Variables in Subclasses
Comprehensive Perl Archive Network (see CPAN)
conditional tests: 14.4. Conditional Tests
constants, setting: 12.7. Setting the Path at the Right Time
constructors
anonymous array: 4.5. Creating an Anonymous Array Directly
4.5. Creating an Anonymous Array Directly
5.7. Selecting and Altering Complex Data
anonymous hash: 4.6. Creating an Anonymous Hash
4.6. Creating an Anonymous Hash
4.6. Creating an Anonymous Hash
creating instances: 9.4. How to Build a Horse
inheriting: 9.5. Inheriting the Constructor
9.5. Inheriting the Constructor
url subroutine: 12.10. Exporting in a Primarily OO Module
copyright notices: 13.2. Looking at the Templates
core modules: 2.7. Packages as Namespace Separators
9.4. How to Build a Horse
11.3. AUTOLOAD as a Last Resort
CPAN (Comprehensive Perl Archive Network)
contributing to: 15. Contributing to CPAN
version numbers and: 13.3. The Prototype Module Itself
current directory
find( ) function and: 6.4. Closures
6.4. Closures
@INC array and: 2.5. require and @INC
search path and: 2.5. require and @INC
6.4. Closures
testing and: 14.6. Testing Things That Write to STDOUT and STDERR


Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
Library Navigation Links

Copyright © 2003 O'Reilly & Associates, Inc. All Rights Reserved.