Node:
General Index
, Previous:
GNU Free Documentation License
, Up:
Top
General Index
#
:
A First Perl Program
;
:
A First Perl Program
<>, the file handle operator:
A First Perl Program
Alan Kay:
The Slogans
associativity:
Numerical Operators
comments:
A First Perl Program
easy jobs, made easy by Perl:
The Slogans
exponential notation:
Numeric Literals
expression:
Expressions
FDL, GNU Free Documentation License:
GNU Free Documentation License
floating point:
Numbers
functions, chomp:
A First Perl Program
functions, defined:
Undefined Variables
functions, each:
Each
functions, keys:
Keys and Values
functions, my:
A First Perl Program
functions, pop:
Arrays as Stacks
functions, print:
A Digression---The print Function
,
A First Perl Program
functions, push:
Arrays as Stacks
functions, shift:
Arrays as Queues
functions, undef:
Undefined Variables
functions, unshift:
Arrays as Queues
functions, values:
Keys and Values
hard jobs, made possible by Perl:
The Slogans
hubris:
The Slogans
impatience:
The Slogans
integer:
Numbers
interpolation:
Interpolation in Double-quoted Strings
interpolation, scalar:
Scalar Interpolation
Kay, Alan:
The Slogans
languages, natural:
Perl as a Natural Language
,
Background of Perl
laziness:
The Slogans
literals, numeric:
Numeric Literals
literals, string:
Strings
newlines, removing with
chomp
:
A First Perl Program
numbers:
Numbers
operators:
Operators
operators, numeric:
Numerical Operators
options, -c:
A First Perl Program
panacea:
The Slogans
Perl, definition of:
A Brief History of Perl
Perl, history of:
A Brief History of Perl
Perl, overview of:
Background of Perl
pragma:
A First Perl Program
precedence:
Numerical Operators
quotes, double:
Scalar Interpolation
,
Double-quoted Strings
reading from a file:
A First Perl Program
scalar:
Output of Scalar Data
,
Scalar Variables
,
Working with Scalars
,
A First Perl Program
standard input:
A First Perl Program
statement:
Expressions
,
A First Perl Program
STDIN:
A First Perl Program
strings:
Double-quoted Strings
,
Strings
Usenet:
A Brief History of Perl
variables, scalar:
Output of Scalar Data
,
Scalar Variables
Wall, Larry:
Perl as a Natural Language
,
A Brief History of Perl
Table of Contents
Preface
Purpose of this Book
Acknowledgments
Obtaining the Most Recent Version
Audience
Material Covered
Conventions Used in this Book
Getting Started
A First Perl Program
Expressions, Statements, and Side-Effects
Working with Scalars
Strings
Single-quoted Strings
Special Characters in Single-quoted Strings
Newlines in Single-quoted Strings
Examples of Invalid Single-quoted Strings
A Digression--The print Function
Double-quoted Strings
Interpolation in Double-quoted Strings
Examples of Interpolation
Examples of Interpolation (ASCII Octal Values)
Examples of Interpolation (ASCII Hex Values)
Characters Requiring Special Consideration
Numbers
Numeric Literals
Printing Numeric Literals
Scalar Variables
Scalar Interpolation
Undefined Variables
Operators
Numerical Operators
Comparison Operators
Auto-Increment and Decrement
String Operators
Assignment with Operators
Output of Scalar Data
Special Variables
Summary of Scalar Operators
Arrays
The Semantics of Arrays
List Literals
Array Variables
Array Variables
Associated Scalars
Manipulating Arrays and Lists
It Slices!
Functions
Arrays as Stacks
Arrays as Queues
The Context--List vs. Scalar
Array Interpolation
Control Structures
Blocks
A Digression--Truth Values
The if/unless Structures
The while/until Structures
The do while/until Structures
The for Structure
The foreach Structure
Associative Arrays (Hashes)
What Is It?
Variables
Literals
Functions
Keys and Values
Each
Slices
Context Considerations
Regular Expressions
The Theory Behind It All
The Simple
Simple Characters
The * Special Character
The . Character
The | Character
Grouping with ()s
The Anchor Characters
Pattern Matching
Regular Expression Shortcuts
Subroutines
Defining Subroutines
Returning Values
Using Arguments
Background of Perl
A Brief History of Perl
Perl as a Natural Language
The Slogans
GNU Free Documentation License
ADDENDUM: How to use this License for your documents
General Index