Skip to Content
Effective Perl Programming: Ways to Write Better, More Idiomatic Perl, Second Edition
book

Effective Perl Programming: Ways to Write Better, More Idiomatic Perl, Second Edition

by Joseph N. Hall, Joshua A. McAdams, brian d foy
April 2010
Intermediate to advanced
504 pages
9h 56m
English
Addison-Wesley Professional
Content preview from Effective Perl Programming: Ways to Write Better, More Idiomatic Perl, Second Edition

Index

Symbols

& (ampersand), sigil for subroutines, 17

&&, and operator used in place of, 67–68

$ anchor, 124

$ (dollar sign), sigil for scalars, 17

$_ (dollar underscore)

built-ins that use, 58

as default for many operations, 53–54

localizing, 55

main package and, 54

-p switch and, 430

programming style and, 55–56

$’ match variable, 117

$` match variable, 117

$. special variable, 429–430

$& match variable, 117

$1, $2, $3 capture variables, 103–105

$@, for handling exceptions, 365, 370–371

$dbh, per-class database connections, 389

$^C variable, 426

“ ” (double quotes), options for quote strings, 73–74

%+ hash, labeled capture results in, 114–115

% (percent symbol), sigil for hashes, 17

( ) [ ], forcing list context, 60

( ) (parentheses). See ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Advanced Perl Programming

Advanced Perl Programming

Sriram Srinivasan
Perl in a Nutshell, 2nd Edition

Perl in a Nutshell, 2nd Edition

Nathan Patwardhan, Ellen Siever, Stephen Spainhour
Perl Best Practices

Perl Best Practices

Damian Conway
Perl by Example

Perl by Example

Ellie Quigley

Publisher Resources

ISBN: 9780321718303Purchase book