Online Perl Programming Books
Practical mod_perl


Linuxtopia Contents


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: P

packages
CORE::: 6.4.1. exit( )
creating, code execution advantages: 6.2.1. The First Mystery: Why Does the Script Go Beyond 5?
declaring names, <Perl> sections: 4.4.4. Declaring Package Names in Perl Sections
faulty, creating for debugging: 21.6.2. Creating a Faulty Package
namespace conflicts: 6.3.3.2. A second faulty scenario
naming, configuration files and: 6.8.2.4.1. Writing configuration files
packets, speed and: 7.1. Looking at the Big Picture
parameters
AxKit forms: E.3.1. Handling Form Parameters
callback hooks, enabling: 3.1.2. Activating Callback Hooks
CGI.pm, handling with: 1.1.2. The Common Gateway Interface Specification
configuration: 3.1.1. Controlling the Build Process
EVERYTHING: 3. Installing mod_perl
mod_perl non-standard features, enabling: 3.1.4. Enabling Extra Features
mod_perl standard features, enabling: 3.1.3. Activating Standard API Features
supplying from file: 3.1.5. Reusing Configuration Parameters
parent option, PerlOptions directive: 24.5.6.3. Parent
parent processes: 1.2.1. Forking
freeing: 10.2.2. Freeing the Parent Process
identifying: 5.3.3. Finding the Right Apache PID
zombie processes and: 10.2.4. Avoiding Zombie Processes
ParseHeaders option, PerlOptions directive: 24.5.6.7. ParseHeaders
parsing key-value pairs: 13.2. Apache::args Versus Apache::Request::param Versus CGI::param
passing variables
by value: 14.2.5. Passing Variables
to subroutines: 14.2.5. Passing Variables
pattern matching (regular expressions)
optimizing: 6.5.3. Compiled Regular Expressions
repeated matching: 6.5.3.1. Matching patterns repeatedly
performance
Apache termination/restart, optimization: 5.3.2. Speeding Up Apache's Termination and Restart
Apache::DBI module
mysql_store_result: 20.2.4. mysql_use_result Versus mysql_store_result Attributes
mysql_use_results: 20.2.4. mysql_use_result Versus mysql_store_result Attributes
preopening connections: 20.2.1. Preopening DBI Connections
record-retrieval: 20.2.3. Efficient Record-Retrieval Techniques
skipping ping( ): 20.2.2. Improving Speed by Skipping ping( )
Apache::Registry: 13.1. Apache::Registry PerlHandler Versus Custom PerlHandler
compared to custom handlers: 13.1. Apache::Registry PerlHandler Versus Custom PerlHandler
benchmarking scripts: 1.3.1. Running CGI Scripts with mod_perl
benchmarks: 9. Essential Tools for Performance Tuning
caching compared to generating data: 13.10. Caching and Pre-Caching
caching data, Memoize module: 13.11. Caching with Memoize
child processes, limiting resources used by: 5.11.3. Limiting Resources Used by Apache Child Processes
code profiling: 9.5. Code Profiling Techniques
Devel::DProf: 9.5.1. Profiling with Devel::DProf
Devel::SmallProf: 9.5.2. Profiling with Devel::SmallProf
configuration
importance of tweaking: 11. Tuning Performance by Tweaking Apache's Configuration
information resources: 4.12. References
configuration files, exported variables and: 6.8.2.4.1. Writing configuration files
critical sections, optimizing: 6.9.2.1. Critical section
diagnostics pragma overhead considerations: 21.1.1.1. The diagnostics pragma
DSO mechanism and: 3.1. Configuring the Source
files, printing: 13.9. Printing Unmodified Files
forking, drawbacks of: 1.2.3. Performance Drawbacks of Forking
imported symbols, memory considerations: 13.5.2. Importing Symbols
KeepAlive directives: 11.4. KeepAlive
memory page swapping issues: 5.11.2. Swapping Prevention
methods compared to functions: 13.6.3. Are All Methods Slower Than Functions?
mod_perl 1.0 compatibility issues: 25.1.3. Code Porting
mod_perl, memory requirements: 1.3. The Development of mod_perl 1.0
mod_status module and: 21.9.2. mod_status
modules, memory considerations: 13.5.1. "Bloatware" Modules
operating system selection: 8.1. Choosing the Right Operating System
Perl interpreter, monitoring status: 9.4. Apache::Status and Measuring Code Memory Usage
prepare( ) statements: 20.2.6. Caching prepare( ) Statements
print( ) function: 13.3. Buffered Printing and Better print( ) Techniques
process, memory consumption: 9.3. Process Memory Measurements
proxy servers, httpd accelerator mode: 12.5. Adding a Proxy Server in httpd Accelerator Mode
regular expressions
optimizing: 6.5.3. Compiled Regular Expressions
repeated matching: 6.5.3.1. Matching patterns repeatedly
relational databases and: 20.2.5. Running Two or More Relational Databases
resource usage issues: 3.9.5. Nonstandard mod_perl-Enabled Apache Installation
resources: 23.3.9. Performance and Scalability
runtime, Perl compared to C: 13.12. Comparing Runtime Performance of Perl and C
speed and: 7.1. Looking at the Big Picture
stat( ) calls, reducing: 11.6. Reducing the Number of stat( ) Calls Made by Apache
static object request rate: 12.2. Standalone mod_perl-Enabled Apache Server
strings
concatenation: 13.4. Interpolation, Concatenation, or List
lists: 13.4. Interpolation, Concatenation, or List
subroutines: 13.6.1. The Overhead with Light Subroutines
troubleshooting, questions to ask: 7.2. Asking the Right Questions
two server approach: 12.3. One Plain and One mod_perl-Enabled Apache Server
warnings, enabling: 6.5.2.1. Warnings
Perl
-D runtime option (debugging): 21.8.2. -D Runtime Option
code
benchmarking: 9.2. Perl Code Benchmarking
combining with other languages: 13.12.3. Inline.pm
coding idioms: 21.5.5. The Importance of a Good, Concise Coding Style
configuration files, creating: 4.4.3. Cheating with Apache->httpd_conf
configuration, saving: 4.4.6. Saving the Perl Configuration
debugging
compiling for: 21.6.1. Getting Ready to Debug
21.6.1. Getting Ready to Debug
overview: 21.5. Debugging Perl Code
syntax errors: 21.5.1. Locating and Correcting Syntax Errors
documentation: 6.1.1. Accessing Documentation
exit( ) function: 6.4.1. exit( )
extensions, creating with XS and 2hxs: 13.12.1. Building Perl Extensions with XS and h2xs
handlers: 1.4.2. mod_perl 1.0 and the mod_perl API
interfaces
Apache API: 24.3.2. Perl Interface to the APR and Apache APIs
APR API: 24.3.2. Perl Interface to the APR and Apache APIs
mailing list information: 23.3.3. Perl
method handlers: 4.2.8. Perl Method Handlers
mod_perl requirements: 2.1. Installing mod_perl 1.0 in Three Steps
mod_rewrite: A.10. mod_rewrite in Perl
modules
identifying nonstandard directories: 3.9.2. Finding Modules Installed in Nonstandard Directories
installing to nonstandard directories: 3.9.1. Installing Perl Modules into a Nonstandard Directory
modifying @INC variable for nonstandard directories: 3.9.2.1. Modifying @INC
modifying PERL5LIB variable for nonstandard directories: 3.9.2.2. Using the PERL5LIB environment variable
new features: 24.2. What's New in Perl 5.6.0-5.8.0
resources for: 23.3.3. Perl
runtime performance compared to C: 13.12. Comparing Runtime Performance of Perl and C
server configuration
Apache::ReadConfig: 4.4.2. Breaking Out of <Perl> Sections
overview: 4.4. Apache Configuration in Perl
<Perl> section: 4.4.1. Constructing <Perl> Sections
symbol table, accessing: 21.8.4. Devel::Symdump and Apache::Symdump
trace, diagnosing hanging processes: 21.7.4.1. Using the Perl trace
version, determining: 3.1. Configuring the Source
Perl interfaces, DBM: 19. DBM and mod_perl
perl Makefile.PL command: 3.1.1. Controlling the Build Process
Perl Module Mechanics web site: 6.13. References
<Perl> section, constructing: 4.4.1. Constructing <Perl> Sections
PerlAccessHandler, automatic routine maintenance and: 5.8.4. Scheduled Routine Maintenance
PerlAddVar directive: 4.2.11. PerlSetVar and PerlAddVar
Perl/CGI resources: 23.3.4. Perl/CGI
PerlChildExitHandler directive: 4.2.4. Perl*Handlers
25.2.1.4. PerlChildExitHandler
PerlChildInitHandler directive: 4.2.4. Perl*Handlers
25.2.1.3. PerlChildInitHandler
PerlCleanupHandler directive: 10.2. Forking and Executing Subprocessesfrom mod_perl
PERL_CONNECTION_API parameter: 3.1.3. Activating Standard API Features
perldb
basic operation: 21.5.6. Introduction to the Perl Debugger
breakpoints: 21.5.6. Introduction to the Perl Debugger
listing: 21.5.6. Introduction to the Perl Debugger
removing: 21.5.6. Introduction to the Perl Debugger
enabling: 21.5.6. Introduction to the Perl Debugger
21.5.6. Introduction to the Perl Debugger
listing code lines: 21.5.6. Introduction to the Perl Debugger
single stepping: 21.5.6. Introduction to the Perl Debugger
PERLDB_OPTS environment variable: 6.2.1. The First Mystery: Why Does the Script Go Beyond 5?
PERL_DEBUG configuration parameter: 3.1.1. Controlling the Build Process
perl_destruct( ) function: 5.3.2. Speeding Up Apache's Termination and Restart
PERL_DESTRUCT_LEVEL={1,2} configuration parameter: 3.1.1. Controlling the Build Process
PERL_DIRECTIVE_HANDLERS parameter: 3.1.4. Enabling Extra Features
PerlDispatchHandler directive: 4.2.4. Perl*Handlers
perldoc utility: 6.1.1. Accessing Documentation
perlfaq manpages: 6.1.1. Accessing Documentation
PERL_FILE_API parameter: 3.1.3. Activating Standard API Features
PerlFixupHandler, debugging code: 21.5.9. Interactive mod_perl Debugging
PerlFreshRestart directive: 4.2.9. PerlFreshRestart
mod_perl 2.0 and: 25.1.2.6. PerlFreshRestart
troubleshooting: 22.4.1. Evil Things Might Happen When Using PerlFreshRestart
PerlHandler directive (<Location> section): 4.2.2. <Location /perl> Sections
Perl*Handler directives: 4.2.4. Perl*Handlers
PerlHandler, MIME type and: A.11. Setting PerlHandler Based on MIME Type
Perl*Handler option, PerlOptions directive: 24.5.6.4. Perl*Handler
PerlInterpreters: 24.3.1. Thread Support
PERL5LIB variable, modifying for nonstandard directories: 3.9.2.2. Using the PERL5LIB environment variable
PERL_LOG_API parameter: 3.1.3. Activating Standard API Features
PERL_METHOD_HANDLERS parameter: 3.1.4. Enabling Extra Features
PerlModule directive: 4.2.3. PerlModule and PerlRequire
loading modules: 10.1.3. Preloading Perl Modules at Server Startup
Perl_newAV, undefined reference errors: 3.2.2.1. Undefined reference to `Perl_newAV'
PerlOpenLogsHandler directive: 25.2.1.1. PerlOpenLogsHandler
PerlOptions +/-ParseHeaders directive: 25.1.2.2. PerlSendHeader
PerlOptions +/-SetupEnv directive: 25.1.2.3. PerlSetupEnv
PerlOptions directive, mod_perl configuration: 24.5.6. PerlOptions Directive
PerlPassEnv directive: 4.2.10. PerlSetEnv and PerlPassEnv
PerlPostConfigHandler directive: 25.2.1.2. PerlPostConfigHandler
PerlPreConnectionHandler directive: 25.2.2.1. PerlPreConnectionHandler
PerlProcessConnectionHandler directive: 25.2.2.2. PerlProcessConnectionHandler
protocol handlers and: 25.2.2.2.1. Socket-based protocol module
perlref manpage, references and: 14.2.5. Passing Variables
PerlRequire directive: 4.2.3. PerlModule and PerlRequire
httpd.conf: 10.1.3. Preloading Perl Modules at Server Startup
loading modules: 10.1.3. Preloading Perl Modules at Server Startup
PerlResponseHandler directive: 25.1.2.1. PerlHandler
HTTP request phase: 25.2.3. HTTP Request Phases
PerlRestartHandler directive: 4.2.4. Perl*Handlers
PERL_SECTIONS parameter: 3.1.4. Enabling Extra Features
PerlSendHeader, determining status: 6.11. Generating Correct HTTP Headers
PerlSendHeader directive (<Location> section): 4.2.2. <Location /perl> Sections
PERL_SERVER_API parameter: 3.1.3. Activating Standard API Features
PerlSetEnv directive: 4.2.10. PerlSetEnv and PerlPassEnv
PerlSetupEnv directive: 11.5. PerlSetupEnv
PerlSetupEnv directives: 4.2.12. PerlSetupEnv
PerlSetVar directive: 4.2.11. PerlSetVar and PerlAddVar
PERL_SSI parameter: 3.1.4. Enabling Extra Features
PERL_STACKED_HANDLERS parameter: 3.1.4. Enabling Extra Features
PERL_STATIC_EXTS configuration parameter: 3.1.1. Controlling the Build Process
PERL_TABLE_API parameter: 3.1.3. Activating Standard API Features
PerlTaintCheck directive: 4.2.13. PerlWarn and PerlTaintCheck
6.5.2.2. Taint mode
Perl/TK, debugger: 21.5.7. Interactive Perl Debugging Under mod_cgi
PERL_TRACE configuration parameter: 3.1.1. Controlling the Build Process
21.4. Tracing mod_perl-Specific Perl Calls
PerlTransHandler
creating custom: 11.6. Reducing the Number of stat( ) Calls Made by Apache
overriding: 11.6. Reducing the Number of stat( ) Calls Made by Apache
PERL_URI_API parameter: 3.1.3. Activating Standard API Features
PERL_UTIL_API parameters: 3.1.3. Activating Standard API Features
PerlWarn directive: 4.2.13. PerlWarn and PerlTaintCheck
21.1.1. The Importance of Warnings
permissions, script directory, setting: 2.5. Preparing the Scripts Directory
persistence, global variables: 6.4.3. Global Variable Persistence
persistent connections, databases
Apache::DBI and: 20.1. Persistent Database Connections with Apache::DBI
Web interfaces: 20.1. Persistent Database Connections with Apache::DBI
phases (Apache), mod_perl 2.0 support: 25.2. New Apache Phases and Corresponding Perl*Handlers
PHP, mod+perl installation with: 3.6.1. Installing mod_perl with PHP
PIDs
determining for processes: 5.3. Using kill to Control Processes
identifying: 5.3.3. Finding the Right Apache PID
multiple developers and: 5.9.1. Starting a Personal Server for Each Developer
ping( ), skipping in Apache::DBI module: 20.2.2. Improving Speed by Skipping ping( )
PL_perl_destruct_level, undefined reference errors: 3.1.8.3. Undefined reference to `PL_perl_destruct_level'
plug-in modules, converting from CGI script: D.8.3. Hangman Plug-in
port-based virtual hosts: 12.10.1. Virtual Host Flavors
port forwarding
information web site: 5.12. References
upgrading servers with: 5.8.2.2.2. Upgrading a live server with port forwarding
port numbers, publishing: 4.9.1. Publishing Port Numbers Other Than 80
porting (see migration)
POST method
HTML forms: 1.1.2. The Common Gateway Interface Specification
REQUEST_METHOD environment variable: 1.1.3. Apache CGI Handling with mod_cgi
post-processing handler, terminating child processes: 6.4.1. exit( )
post-read-request (Apache request processing): 1.4. Apache 1.3 Request Processing Phases
POST requests: 16.4.4. POST Requests
redirecting: A.3. Redirecting POST Requests
reusing data: A.2. Reusing Data from POST Requests
post_config phase: 25.2. New Apache Phases and Corresponding Perl*Handlers
25.2.1.2. PerlPostConfigHandler
pragmas
constant, print( ) call debugging and: 21.5.3. Using print( ) for Debugging
strict, importance of: 6.1.2. The strict Pragma
vars, global variables and: 6.2.1. The First Mystery: Why Does the Script Go Beyond 5?
warnings: 6.5.2.1. Warnings
21.1.1. The Importance of Warnings
pre-caching data: 13.10. Caching and Pre-Caching
preallocating memory: 10.1.6. Memory Preallocation
pre_config phase: 25.2. New Apache Phases and Corresponding Perl*Handlers
pre_connection phase: 25.2.2. Connection Phases
25.2.2.1. PerlPreConnectionHandler
prefork MPM: 24.1. What's New in Apache 2.0
preloaded modules, memory and: 10.1. Sharing Memory
preloading
modules, server startup: 10.1.3. Preloading Perl Modules at Server Startup
registry scripts, server startup: 10.1.4. Preloading Registry Scripts at Server Startup
prepare( ) statements, performance and: 20.2.6. Caching prepare( ) Statements
PREP_HTTPD configuration parameter: 3.1.1. Controlling the Build Process
presentation languages, Template Toolkit: D.4. Template Toolkit Language
print( )
debugging code: 21.5.3. Using print( ) for Debugging
Data::Dumper: 21.5.4. Using print( ) and Data::Dumper for Debugging
HTTP response headers and: 6.11. Generating Correct HTTP Headers
print( ) function: 6.4.6. print( )
performance techniques: 13.3. Buffered Printing and Better print( ) Techniques
print command: 21.5.6. Introduction to the Perl Debugger
printers, as media type: E.6. Putting Everything Together
printf( ): 6.4.7. Formats
printing
arrays: 21.5.6. Introduction to the Perl Debugger
files, perfomance tip: 13.9. Printing Unmodified Files
formatting output: 6.4.7. Formats
function call stack backtrace: 21.1.2. Curing "Internal Server Error" Problems
<html> tags: 13.3. Buffered Printing and Better print( ) Techniques
performance techniques: 13.3. Buffered Printing and Better print( ) Techniques
process_connection phase: 25.2.2. Connection Phases
25.2.2.2. PerlProcessConnectionHandler
processes
child, lifespan: 1.2.1. Forking
forking: 1.2.1. Forking
10.2.1. Forking a New Process
detaching: 10.2.3. Detaching the Forked Process
hanging
detecting: 21.7.3. Detecting Hanging Processes
diagnosing with interactive debugger: 21.7.4.3. Using the interactive debugger
diagnosing with Perl trace: 21.7.4.1. Using the Perl trace
diagnosing with system calls trace: 21.7.4.2. Using the system calls trace
OS problems: 21.7.1. Hanging Because of an Operating System Problem
reasons for: 21.7.2. When a Process Might Hang
tracking and terminating: 5.11.4. Tracking and Terminating Hanging Processes
memory consumption: 9.3. Process Memory Measurements
parent: 1.2.1. Forking
identifying: 5.3.3. Finding the Right Apache PID
PIDs
determining: 5.3. Using kill to Control Processes
identifying: 5.3.3. Finding the Right Apache PID
resource usage: 11.1. Setting the MaxClients Directive
resources, limiting number serving: 5.11.5. Limiting the Number of Processes Serving the Same Resource
size considerations: 12.2. Standalone mod_perl-Enabled Apache Server
spinning, mod_perl mailing list: 23.1.2. Spinning Processes
zombie processes: 10.2.4. Avoiding Zombie Processes
production tier (server implementation)
configuration package: 5.9. Three-Tier Server Scheme: Development, Staging, and Production
overview: 5.9. Three-Tier Server Scheme: Development, Staging, and Production
program flow, aborting: 6.4.2. die( )
programming languages, combining with Perl code: 13.12.3. Inline.pm
programming style: 6.1.2. The strict Pragma
(see also coding)
coding idioms: 21.5.5. The Importance of a Good, Concise Coding Style
error messages and: 21.1.2. Curing "Internal Server Error" Problems
poor practices: 1.2.2. CGI Scripts Under the Forking Model
semicolons, importance of: 21.5.1. Locating and Correcting Syntax Errors
projection media type: E.6. Putting Everything Together
protocol modules
Apache: 24.1. What's New in Apache 2.0
principles of operation: 25.2.2.2.1. Socket-based protocol module
protocols, stateless: 1.1.1. The HTTP Protocol
prototyping, modules: 3.1. Configuring the Source
proxy (mod_proxy module), overview: 12.7. Apache's mod_proxy Module
proxy server
adding in httpd accelerator mode: 12.5. Adding a Proxy Server in httpd Accelerator Mode
advantages and disadvantages: 12.5. Adding a Proxy Server in httpd Accelerator Mode
authentication: 12.11. HTTP Authentication with Two Servers and a Proxy
mod_proxy module
buffering: 12.7.3. Buffering Feature
ProxyPass directive: 12.7.1.1. ProxyPass
ProxyPassReverse directive: 12.7.1.2. ProxyPassReverse
security issues: 12.7.1.3. Security issues
virtual hosts: 12.10.1. Virtual Host Flavors
ProxyPass directive: 12.7.1.1. ProxyPass
proxypassed connection type: 12.7.2. Knowing the Proxypassed Connection Type
ProxyPassReverse directive: 12.7.1.2. ProxyPassReverse
ps command: 5.3. Using kill to Control Processes
ps(1) utility, process memory consumption monitoring: 9.3. Process Memory Measurements
pstree utility: 5.3.3. Finding the Right Apache PID
ptkdb, troubleshooting for mod_perl compatibility: 21.5.9.1. ptkdb and interactive mod_perl debugging
ptkdbrc file: 21.5.7. Interactive Perl Debugging Under mod_cgi
publishing port numbers: 4.9.1. Publishing Port Numbers Other Than 80


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
Copyright © 2003 O'Reilly & Associates, Inc. All Rights Reserved.



[an error occurred while processing this directive]