By Ellen Siever, Stephen Spainhour & Nathan Patwardhan; ISBN 1-56592-286-7, 674 pages. First Edition, December 1998. (See the catalog page for this book.) Search the text of Perl in a Nutshell. Index Symbols | 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 Table of Contents Preface Part I: Getting Started Chapter 1: Introduction to Perl Chapter 2: Installing Perl Part II: Language Basics Chapter 3: The Perl Interpreter Chapter 4: The Perl Language Chapter 5: Function Reference Chapter 6: Debugging Part III: Modules Chapter 7: Packages, Modules, and Objects Chapter 8: Standard Modules Part IV: CGI Chapter 9: CGI Overview Chapter 10: The CGI.pm Module Chapter 11: Web Server Programming with mod_perl Perl in a Nutshell http://www.crypto.nc1uw1aoi420d85w1sos.de/documents/oreilly/perl/perlnut/ (1 of 2) [2/7/2001 10:27:31 PM] Part V: Databases Chapter 12: Databases and Perl Part VI: Network Programming Chapter 13: Sockets Chapter 14: Email Connectivity Chapter 15: Usenet News Chapter 16: FTP Chapter 17: The LWP Library Part VII: Perl/Tk Chapter 18: Perl/Tk Part VIII: Win32 Chapter 19: Win32 Modules and Extensions Chapter 20: PerlScript Copyright © 1999 O'Reilly & Associates. All Rights Reserved. Perl in a Nutshell http://www.crypto.nc1uw1aoi420d85w1sos.de/documents/oreilly/perl/perlnut/ (2 of 2) [2/7/2001 10:27:31 PM] Full Text Search Use this HTML form to search the contents of Perl in a Nutshell. Results report format: Search for If you are having difficulty searching, or if you have not used this search utility before, please read this. Copyright © 1999 O'Reilly & Associates. All Rights Reserved. Search Perl in a Nutshell http://www.crypto.nc1uw1aoi420d85w1sos.de/documents/oreilly/perl/search/nsrch.htm [2/7/2001 10:27:34 PM] Expanded Reset search form Search | Symbols | 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: Symbols and Numbers -0 option (perl) : 3.2. Command-Line Options \007 (octal value) sequence : 4.6.3. Escaped Sequences & (ampersand) AND bitwise operator : 4.5.10. Bitwise Operators calling subroutines : 4.7.1. Calling Subroutines in encoded URLs : 9.2. URL Encoding prototype symbol : 4.7.5. Prototypes && (logical AND) operator : 4.5.9. Logical Operators &&= (assignment) operator : 4.5.6. Assignment Operators &= (assignment) operator : 4.5.6. Assignment Operators <> (angle brackets) : 4.10. Formats greater-than operator : 4.5.4.1. Relational operators less-than operator : 4.5.4.1. Relational operators < Perl debugger command : Chapter 6, Reference: < << Perl debugger command : Chapter 6, Reference: << <<= (assignment) operator : 4.5.6. Assignment Operators <= (less-than-or-equal) operator : 4.5.4.1. Relational operators <=> (comparison) operator : 4.5.4.2. Equality operators <% %> delimiters : 20.2. Server-Side PerlScript > Perl debugger command : Chapter 6, Reference: > < > line-input operator : 4.9. Filehandles >> to open file for appending : 4.9. Filehandles >> Perl debugger command : Chapter 6, Reference: >> >>= (assignment) operator : 4.5.6. Assignment Operators >= (greater-than-or-equal) operator : 4.5.4.1. Relational operators * (asterisk) Index http://www.crypto.nc1uw1aoi420d85w1sos.de/documents/oreilly/perl/perlnut/index/idx_0.htm (1 of 7) [2/7/2001 10:27:36 PM] multiplication operator : 4.5.3. Arithmetic Operators prototype symbol (typeglob) : 4.7.5. Prototypes regular expression metacharacter : 4.6.2. Regular Expression Syntax ** (exponentiation) operator : 4.5.3. Arithmetic Operators **= (assignment) operator : 4.5.6. Assignment Operators *= (assignment) operator : 4.5.6. Assignment Operators *? regular expression quantifier : 4.6.6. Quantifiers @ (at sign) @_ array : 4.7.2. Passing Arguments dereferencing with : 4.8.2. Dereferencing format fieldholders : 4.10. Formats prototype symbol (list) : 4.7.5. Prototypes signifying arrays : 4.2.4.1. Arrays \ (backslash) creating references : 4.8.1. Creating References in prototype declarations : 4.7.5. Prototypes reference creation operator : 4.5.2. Unary Operators regular expression metacharacter : 4.6.2. Regular Expression Syntax ! (bang) CPAN.pm eval command : Chapter 2, Reference: ! logical negation operator : 4.5.2. Unary Operators .newsrc entries : 15.3. The News::Newsrc Module Perl debugger command : Chapter 6, Reference: ! !! Perl debugger command : Chapter 6, Reference: !! != (not equal to) operator : 4.5.4.2. Equality operators !~ (pattern match) operator : 4.5.7. Pattern Match Operators {} (braces) delimiting statement blocks : 4.3. Statements regular expression metacharacter : 4.6.2. Regular Expression Syntax regular expression quantifiers : 4.6.6. Quantifiers { Perl debugger command : Chapter 6, Reference: { {{ Perl debugger command : Chapter 6, Reference: {{ [] (brackets) Perl debugger command : Chapter 6, Reference: = Index http://www.crypto.nc1uw1aoi420d85w1sos.de/documents/oreilly/perl/perlnut/index/idx_0.htm (2 of 7) [2/7/2001 10:27:36 PM] regular expression metacharacter 4.6.2. Regular Expression Syntax 4.6.4. Character Classes ^ (caret) in [ ] construct : 4.6.4. Character Classes filled field fieldholder : 4.10. Formats grid geometry manager placeholder : 18.2.2. The grid Geometry Manager regular expression anchor : 4.6.5. Anchors regular expression metacharacter : 4.6.2. Regular Expression Syntax XOR bitwise operator : 4.5.10. Bitwise Operators ^= (assignment) operator : 4.5.6. Assignment Operators : (colon) .newsrc entries : 15.3. The News::Newsrc Module in package names : 7.1. Namespaces and Packages , (comma) number legibility without : 4.2.1. Numbers operator : 4.5.11.3. Comma operator $ (dollar sign) dereferencing with : 4.8.2. Dereferencing prototype symbol (scalar) : 4.7.5. Prototypes regular expression anchor : 4.6.5. Anchors regular expression metacharacter : 4.6.2. Regular Expression Syntax signifying scalar variables : 4.2.4. Variables $ variables $0 variable : 4.4.1. Global Special Variables $1, $2, $3, 4.4.5. Regular Expression Special Variables 4.6.7. Pattern Match Variables $& variable : 4.4.5. Regular Expression Special Variables $< variable : 4.4.1. Global Special Variables $> variable : 4.4.1. Global Special Variables $' variable : 4.4.5. Regular Expression Special Variables $@ variable : 4.4.1. Global Special Variables $\ variable : 4.4.1. Global Special Variables Index http://www.crypto.nc1uw1aoi420d85w1sos.de/documents/oreilly/perl/perlnut/index/idx_0.htm (3 of 7) [2/7/2001 10:27:36 PM] $` variable : 4.4.5. Regular Expression Special Variables $! variable : 4.4.1. Global Special Variables $[ variable : 4.4.1. Global Special Variables $] variable : 4.4.1. Global Special Variables $^ variable : 4.4.6. Filehandle Special Variables $^A variable : 4.4.1. Global Special Variables $^D variable : 4.4.1. Global Special Variables $^E variable : 4.4.1. Global Special Variables $^F variable : 4.4.1. Global Special Variables $^H variable : 4.4.1. Global Special Variables $^I variable : 4.4.1. Global Special Variables $^L variable : 4.4.1. Global Special Variables $^M variable : 4.4.1. Global Special Variables $^O variable : 4.4.1. Global Special Variables $^P variable : 4.4.1. Global Special Variables $: variable : 4.4.1. Global Special Variables $, variable : 4.4.1. Global Special Variables $$ variable : 4.4.1. Global Special Variables $. variable : 4.4.1. Global Special Variables $= variable : 4.4.6. Filehandle Special Variables $# variable : 4.4.1. Global Special Variables $- variable : 4.4.6. Filehandle Special Variables $( variable : 4.4.1. Global Special Variables $) variable : 4.4.1. Global Special Variables $% variable : 4.4.6. Filehandle Special Variables $+ variable : 4.4.5. Regular Expression Special Variables $? variable : 4.4.1. Global Special Variables $" variable : 4.4.1. Global Special Variables $; variable : 4.4.1. Global Special Variables $/ variable : 4.4.1. Global Special Variables $~ variable : 4.4.6. Filehandle Special Variables $_ ($ARG) variable : 4.4.1. Global Special Variables $| variable : 4.4.6. Filehandle Special Variables Index http://www.crypto.nc1uw1aoi420d85w1sos.de/documents/oreilly/perl/perlnut/index/idx_0.htm (4 of 7) [2/7/2001 10:27:36 PM] $^T variable : 4.4.1. Global Special Variables $^W variable : 4.4.1. Global Special Variables $^X variable : 4.4.1. Global Special Variables . (dot) concatenation operator : 4.5.11.4. String operator Perl debugger command : Chapter 6, Reference: . regular expression metacharacter : 4.6.2. Regular Expression Syntax (range) operator : 4.5.11.1. Range operator (range) operator : 4.5.11.1. Range operator .= (assignment) operator : 4.5.6. Assignment Operators = (equal sign) assignment operator 4.2.4. Variables 4.5.6. Assignment Operators for embedded documentation (pod) : 4.1. Program Structure in hash name/value pairs : 4.2.4.2. Hashes for pod commands : 4.11. Pod == (equal to) operator : 4.5.4.2. Equality operators => operator, defining key/value pairs 4.2.4.2. Hashes 4.5.11.3. Comma operator =~ (pattern match) operator : 4.5.7. Pattern Match Operators # (hash mark) for comments : 4.1. Program Structure format fieldholder : 4.10. Formats #! (shebang) line : 3. The Perl Interpreter - (hyphen) arithmetic negation operator : 4.5.2. Unary Operators grid geometry manager placeholder : 18.2.2. The grid Geometry Manager Perl debugger command : Chapter 6, Reference: - in [ ] construct : 4.6.4. Character Classes -> (arrow) operator 4.5.1. The Arrow Operator 7.4. Object Syntax Index http://www.crypto.nc1uw1aoi420d85w1sos.de/documents/oreilly/perl/perlnut/index/idx_0.htm (5 of 7) [2/7/2001 10:27:36 PM] dereferencing with : 4.8.2.1. Arrow dereferencing -= (assignment) operator : 4.5.6. Assignment Operators (autodecrement) operator : 4.5.5. Autoincrement and Autodecrement option (perl) : 3.2. Command-Line Options () (parentheses) around function arguments : 5. Function Reference operator precedence and : 4.5. Operators regular expression metacharacter : 4.6.2. Regular Expression Syntax (? ) extended regular expression syntax : 4.6.8. Extended Regular Expressions % (percent sign) dereferencing with : 4.8.2. Dereferencing modulus operator : 4.5.3. Arithmetic Operators prototype symbol (hash) : 4.7.5. Prototypes signifying variable type : 4.2.4.2. Hashes %= (assignment) operator : 4.5.6. Assignment Operators + (plus) 1 : 4.5.5. Autoincrement and Autodecrement regular expression metacharacter : 4.6.2. Regular Expression Syntax unary operator : 4.5.2. Unary Operators += (assignment) operator : 4.5.6. Assignment Operators +? regular expression quantifier : 4.6.6. Quantifiers ? (question mark) regular expression metacharacter : 4.6.2. Regular Expression Syntax ?: (conditional) operator : 4.5.11.2. Conditional operator ?? regular expression quantifier : 4.6.6. Quantifiers ? ? pattern match operator : 4.6.1. Pattern-Matching Operators ? ? Perl debugger command : Chapter 6, Reference: ?pattern? ; (semicolon) ending Perl statements : 4.1. Program Structure in prototype declarations : 4.7.5. Prototypes / (slash) division operator : 4.5.3. Arithmetic Operators encoding in URLs : 9.2. URL Encoding /= (assignment) operator : 4.5.6. Assignment Operators Index http://www.crypto.nc1uw1aoi420d85w1sos.de/documents/oreilly/perl/perlnut/index/idx_0.htm (6 of 7) [2/7/2001 10:27:36 PM] / / pattern match operator : 4.6. Regular Expressions / / Perl debugger command : Chapter 6, Reference: /pattern/ ~ (tilde) bitwise negation operator : 4.5.2. Unary Operators suppressing output whitespace : 4.10. Formats ~~ to print strings in fields : 4.10. Formats _ (underscore) filehandle : 4.4.3. Global Special Filehandles improving number legibility : 4.2.1. Numbers | (vertical bar) format fieldholders : 4.10. Formats OR bitwise operator : 4.5.10. Bitwise Operators Perl debugger command : Chapter 6, Reference: | regular expression metacharacter : 4.6.2. Regular Expression Syntax |= (assignment) operator : 4.5.6. Assignment Operators || (logical OR) operator : 4.5.9. Logical Operators || Perl debugger command : Chapter 6, Reference: || ||= (assignment) operator : 4.5.6. Assignment Operators Search | Symbols | 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 © 1999 O'Reilly & Associates, Inc. All Rights Reserved. [ Library Home | Perl in a Nutshell | Learning Perl | Learning Perl on Win32 | Programming Perl | Advanced Perl Programming | Perl Cookbook ] Index http://www.crypto.nc1uw1aoi420d85w1sos.de/documents/oreilly/perl/perlnut/index/idx_0.htm (7 of 7) [2/7/2001 10:27:36 PM] [...]... createLine() (Canvas) : 18 .12 .1 Canvas Creation Methods createOval() (Canvas) : 18 .12 .1 Canvas Creation Methods createPolygon() (Canvas) : 18 .12 .1 Canvas Creation Methods createRectangle() (Canvas) : 18 .12 .1 Canvas Creation Methods createText() (Canvas) : 18 .12 .1 Canvas Creation Methods CreateURL() (Win32::Internet) : Chapter 19 , Reference: CreateURL createWindow() (Canvas) : 18 .12 .1 Canvas Creation... Command-Line Options crack() (URI::URL) : Chapter 17 , Reference: crack CrackURL() (Win32::Internet) : Chapter 19 , Reference: CrackURL Create() Win32::Process module : 19 .12 Win32::Process Win32::Registry module : Chapter 19 , Reference: Create createArc() (Canvas) : 18 .12 .1 Canvas Creation Methods createBitmap() (Canvas) : 18 .12 .1 Canvas Creation Methods createImage() (Canvas) : 18 .12 .1 Canvas Creation... (email), parsing : 14 .2.6 Parse Email Addresses with Mail::Address addTag() (Canvas) : 18 .12 .3 Canvas Methods administering network servers : 19 .10 Win32::NetAdmin -after option (pack geometry manager) : 18 .2 .1 The pack Geometry Manager agent() (LWP::UserAgent) : Chapter 17 , Reference: agent alarm() : Chapter 5, Reference: alarm Alive() (Mail::POP3Client) Chapter 14 , Reference: Alive 14 .2.8.5 Checking... Databases and Perl 12 .2 .1 Database Drivers (DBDs) DBI module 12 Databases and Perl 12 .2 Design of DBI database and statement handles : 12 .2.3 Database Handles and Statement Handles environment variables for : 12 .4 DBI Environment Variables methods of : 12 .3 DBI Methods DBI_ environment variables : 12 .4 DBI Environment Variables DBM (Database Management) facility : 12 .1 DBM Databases and DBM Hashes dbmclose()... data DATA command (SMTP) : 14 .1. 2 The SMTP Protocol and the SMTP Session Data::Dumper module : 8.39 Data::Dumper DATA filehandle : 4.4.3 Global Special Filehandles data_sources() (DBI) : Chapter 12 , Reference: data_sources data types : 4.2 Data Types and Variables complex data structures : 4.8 References and Complex Data Structures databases : 12 Databases and Perl database handles (DBI methods) : 12 .2.3... 12 .2.3 Database Handles and Statement Handles DBDs (database drivers) : 12 .2 .1 Database Drivers (DBDs) DBI module : 12 .2 Design of DBI DBM (Database Management) facility : 12 .1 DBM Databases and DBM Hashes dataend() (Net::SMTP) : Chapter 14 , Reference: dataend DataReceiveTimeout() (Win32::Internet) : Chapter 19 , Reference: DataReceiveTimeout datasend() (Net::SMTP) : Chapter 14 , Reference: datasend http://www.crypto.nc1uw1aoi420d85w1sos.de/documents/oreilly /perl/ perlnut/index/idx_d.htm... example CGI interaction : 9 .1 A Typical CGI Interaction extra path information : 9.3 Extra Path Information maintaining state : 10 .3 Maintaining State named parameters : 10 .4 Named Parameters running with mod _perl : 11 .4 Running CGI Scripts with mod _perl URL encoding : 9.2 URL Encoding :cgi, :cgi-lib method groups : 10 .2 Importing Method Groups CGI.pm module 9 CGI Overview 10 The CGI.pm Module debugging scripts... filehandle 4.4.3 Global Special Filehandles 4.9 Filehandles -argv option (perlcc) : 3.4 The Perl Compiler $ARGV variable : 4.4 .1 Global Special Variables arithmetic operators : 4.5.3 Arithmetic Operators arrays 4.2 Data Types and Variables 4.2.4 .1 Arrays functions for processing : 5 .1 Perl Functions by Category special (predefined) : 4.4.2 Global Special Arrays and Hashes arrow (->) operator 4.5 .1 The Arrow... program : 6.6 The perlbug Program $DEBUGGING ($^D) variable : 4.4 .1 Global Special Variables declarations : 4 .1 Program Structure packages : 7 .1 Namespaces and Packages private vs local : 4.7.4 Private and Local Variables subroutines : 4.7 Subroutines variables : 4.2.6 Declarations and Scope default_port() (URI::URL) : Chapter 17 , Reference: default_port defaults() (CGI.pm) : Chapter 10 , Reference: defaults... ActivePerl distribution : (see ActiveState Perl) -activerelief option (Scrollbar) : 18 .9 The Scrollbar Widget ActiveState Perl : 2.3.2 Installing on Win32 installing documentation : 2.5 .1 Installing the Documentation installing modules with : 2.4.3 Installing Modules with ActiveState Perl add() Mail::Send module Chapter 14 , Reference: add 14 .2.2 Better Header Control with Mail::Send Menu widget : 18 .15 .2 . Variables $^P variable : 4.4 .1. Global Special Variables $: variable : 4.4 .1. Global Special Variables $, variable : 4.4 .1. Global Special Variables $$ variable : 4.4 .1. Global Special Variables $. variable. Variables $^D variable : 4.4 .1. Global Special Variables $^E variable : 4.4 .1. Global Special Variables $^F variable : 4.4 .1. Global Special Variables $^H variable : 4.4 .1. Global Special Variables $^I. Variables $^I variable : 4.4 .1. Global Special Variables $^L variable : 4.4 .1. Global Special Variables $^M variable : 4.4 .1. Global Special Variables $^O variable : 4.4 .1. Global Special Variables $^P