Index

Symbols

#! line, portability, What’s Inside That Program?
$_ default variable, Perl’s Favorite Default: $_
.. (range operator), The qw Shortcut
/g modifier (global replacements), Global Replacements with /g
/i, case-insensitive matching, Option Modifiers
/s, any character match in regular expressions, Option Modifiers
<> diamond operator, Input from the Diamond Operator
<STDIN> operator, list context, Forcing Scalar Context
=~ (binding operator), The Binding Operator, =~
m// and, Option Modifiers
@ (at sign), array referencing, The pop and push Operators
@ARGV array, The Invocation Arguments
^ (caret), character classes, Character Class Shortcuts
_filehandle, Using the Special Underscore Filehandle
| (bar), regular expressions, Grouping in Patterns

A

access
array elements, Accessing Elements of an Array
databases, Databases
hash elements, Hash Element Access
algorithms, high-water mark, Empty Parameter Lists
ampersand, subroutines, Omitting the Ampersand
anchors
regular expressions, Word Anchors
word anchors, Word Anchors
answers to exercises, Answers to Chapter 2 Exercises
arguments
invocation, Input from the Diamond Operator, The Invocation Arguments
subroutines, Arguments
passing, Arguments
array slices, Array Slice
arrays, Lists and Arrays
@ sign, The pop and push Operators
@ARGV, Input from the Diamond Operator
bits, Bits and Pieces
elements
access, Accessing Elements of an Array
foreach control, The foreach Control Structure
grep and, map and grep
indices, Special Array Indices, What Is a Hash?
interpolation ...

Get Learning Perl, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.