Modern Perl: The Classic Reference, Updated for Perl 5.22, 4th ed.
Год издания: 2015
Автор: chromatic / хроматик
Издательство: The Pragmatic Bookshelf
ISBN: 978-1-68050-088-2
Язык: Английский
Формат: PDF
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 265
Описание:
A Perl expert can solve a problem in a few lines of well-tested code. Now you can unlock these powers for yourself.
Modern Perl teaches you how Perl really works. It's the only book that explains Perl thoroughly, from its philosophical roots to the pragmatic decisions that help you solve real problems--and keep them solved. You'll understand how the language fits together and discover the secrets used by the global Perl community. This beloved guide is now completely updated for Perl 5.22.
When you have to solve a problem now, reach for Perl. When you have to solve a problem right, reach for
Modern Perl. Discover how to scale your skills from one-liners to asynchronous Unicode-aware web services and everything in between.
Modern Perl will take you from novice to proficient Perl hacker. You'll see which features of modern Perl will make you more productive, and which features of this well-loved language are best left in the past. Along the way, you'll take advantage of Perl to write well-tested, clear, maintainable code that evolves with you. Learn how the language works, how to take advantage of the CPAN's immense trove of time-tested solutions, and how to write clear, concise, powerful code that runs everywhere. Specific coverage explains how to use Moose, how to write testable code, and how to deploy and maintain real-world Perl applications.
This new edition covers the new features of Perl 5.20 and Perl 5.22, including all the new operators, standard library changes, bug and security fixes, and productivity enhancements. It gives you what you need to use the most up-to-date Perl most effectively, all day, every day.
Оглавление
Preface
Running Modern Perl
Credits
1. The Perl Philosophy
Perldoc
Expressivity
Context
Implicit Ideas
2. Perl and Its Community
The CPAN
Community Sites
Development Sites
Events
IRC
3. The Perl Language
Names
Variables
Values
Control Flow
Scalars
Arrays
Hashes
Coercion
Packages
References
Nested Data Structures
4. Operators
Operator Characteristics
Operator Types
5. Functions
Declaring Functions
Invoking Functions
Function Parameters
Functions and Namespaces
Reporting Errors
Advanced Functions
Pitfalls and Misfeatures
Scope
Anonymous Functions
Closures
State versus Closures
State versus Pseudo-State
Attributes
AUTOLOAD
6. Regular Expressions and Matching
Literals
The qr// Operator and Regex Combinations
Quantifiers
Greediness
Regex Anchors
Metacharacters
Character Classes
Capturing
Grouping and Alternation
Other Escape Sequences
Assertions
Regex Modifiers
Smart Matching
7. Objects
Moose
Blessed References
Reflection
Advanced OO Perl
8. Style and Efficacy
Writing Maintainable Perl
Writing Idiomatic Perl
Writing Effective Perl
Exceptions
Pragmas
9. Managing Real Programs
Testing
Handling Warnings
Files
Modules
Distributions
The UNIVERSAL Package
Code Generation
Overloading
Taint
10. Perl Beyond Syntax
Idioms
Global Variables
11. What to Avoid
Barewords
Indirect Objects
Prototypes
Method-Function Equivalence
Automatic Dereferencing
Tie
12. Next Steps with Perl
Useful Core Modules
What's Next?
Index
Другие раздачи этой книги
- Там — версия 2012 года. Здесь — версия 2015 года.