Perl Pocket ReferenceIf you have a Perl programming question, you'll find the answer quickly in this handy, easy-to-use quick reference. The Perl Pocket Reference condenses and organizes stacks of documentation down to the most essential facts, so you can find what you need in a heartbeat. Updated for Perl 5.14, the 5th edition provides a summary of Perl syntax rules and a complete list of operators, built-in functions, and other features. It's the perfect companion to O'Reilly's authoritative and in-depth Perl programming books, including Learning Perl, Programming Perl, and the Perl Cookbook.. |
Contents
Introduction | 1 |
Conventions used in this book | 2 |
Syntax | 3 |
Data Types | 5 |
Literal Values | 7 |
Variables | 9 |
Context | 11 |
Operators and Precedence | 12 |
Search and Replace Functions | 43 |
File Operations | 45 |
File Test Operators | 47 |
Input and Output | 48 |
Formatted Printing | 54 |
Formats | 56 |
Directory Reading Routines | 57 |
System Interaction | 58 |
Statements | 14 |
Packages and Modules | 16 |
Pragmatic Modules | 17 |
Subroutines | 21 |
Special Subroutines | 24 |
ObjectOriented Programming | 25 |
Special Classes | 26 |
Conversion Functions | 27 |
Structure Conversion | 29 |
String Functions | 30 |
Array and List Functions | 31 |
Hash Functions | 34 |
Smartmatching | 35 |
Regular Expression Patterns | 37 |
Common terms and phrases
&name aliases Alternative argument ARGV breakpoint built-in by-name access bytes chdir child process compile continue block current package debugger defined Deletes Description 0 name dirhandle element of array empty Enables Ends lookup processing environment variables eval Evaluates expr1 exprt Returns file descriptor File Test Operators filehandle filename flags format functions grep group ID handle hexadecimal I/O layers Index Name Description Information About Network input Interpret integer list context list of values Literal string memory segment method mode modifiers newline octal offset output parameters parentheses Perl Pocket Reference Perl programming Pragmatic Modules Prints protocol prototype Regular Expression Resets lookup processing returns a list Returns the number Returns true scalar context Sets Smartmatching socket Special Variables specified sprintf standard module string subroutine substr syscall taint checking umask undef Unicode uninitialized scalar variable uppercase varlist waitpid whitespace zero Zero-width