Muutke küpsiste eelistusi

Modern Perl 4e 4th edition [Pehme köide]

  • Formaat: Paperback / softback, 300 pages, kõrgus x laius x paksus: 280x250x15 mm
  • Ilmumisaeg: 07-Jan-2016
  • Kirjastus: The Pragmatic Programmers
  • ISBN-10: 1680500880
  • ISBN-13: 9781680500882
Teised raamatud teemal:
  • Formaat: Paperback / softback, 300 pages, kõrgus x laius x paksus: 280x250x15 mm
  • Ilmumisaeg: 07-Jan-2016
  • Kirjastus: The Pragmatic Programmers
  • ISBN-10: 1680500880
  • ISBN-13: 9781680500882
Teised raamatud teemal:

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 forModern 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.

What You Need:

Perl 5.16 or newer (Perl 5.20 or 5.22 preferred). Installation/upgrade instructions included.

Preface ix
1 The Perl Philosophy
1(12)
Perldoc
1(2)
Expressivity
3(2)
Context
5(3)
Implicit Ideas
8(5)
2 Perl and Its Community
13(6)
The CPAN
13(3)
Community Sites
16(1)
Development Sites
16(1)
Events
17(1)
IRC
17(2)
3 The Perl Language
19(66)
Names
19(3)
Variables
22(2)
Values
24(11)
Control Flow
35(15)
Scalars
50(2)
Arrays
52(6)
Hashes
58(8)
Coercion
66(2)
Packages
68(3)
References
71(7)
Nested Data Structures
78(7)
4 Operators
85(6)
Operator Characteristics
85(2)
Operator Types
87(4)
5 Functions
91(34)
Declaring Functions
91(1)
Invoking Functions
91(1)
Function Parameters
92(5)
Functions and Namespaces
97(1)
Reporting Errors
98(1)
Advanced Functions
99(4)
Pitfalls and Misfeatures
103(1)
Scope
104(4)
Anonymous Functions
108(4)
Closures
112(4)
State versus Closures
116(1)
State versus Pseudo-State
117(1)
Attributes
118(1)
AUTOLOAD
119(6)
6 Regular Expressions and Matching
125(16)
Literals
125(1)
The qr// Operator and Regex Combinations
126(1)
Quantifiers
127(1)
Greediness
128(1)
Regex Anchors
129(1)
Metacharacters
130(1)
Character Classes
131(1)
Capturing
132(1)
Grouping and Alternation
133(2)
Other Escape Sequences
135(1)
Assertions
135(2)
Regex Modifiers
137(2)
Smart Matching
139(2)
7 Objects
141(24)
Moose
141(14)
Blessed References
155(5)
Reflection
160(2)
Advanced OO Perl
162(3)
8 Style and Efficacy
165(10)
Writing Maintainable Perl
165(1)
Writing Idiomatic Perl
166(1)
Writing Effective Perl
167(1)
Exceptions
168(3)
Pragmas
171(4)
9 Managing Real Programs
175(38)
Testing
175(6)
Handling Warnings
181(3)
Files
184(8)
Modules
192(4)
Distributions
196(3)
The UNIVERSAL Package
199(3)
Code Generation
202(5)
Overloading
207(3)
Taint
210(3)
10 Perl Beyond Syntax
213(12)
Idioms
213(7)
Global Variables
220(5)
11 What to Avoid
225(16)
Barewords
225(3)
Indirect Objects
228(2)
Prototypes
230(4)
Method-Function Equivalence
234(2)
Automatic Dereferencing
236(1)
Tie
237(4)
12 Next Steps with Perl
241(4)
Useful Core Modules
241(2)
What's Next?
243(2)
Index 245
Since 1998, chromatic has helped kick off the Perl testing revolution; contributed to the PerlMonks community from its origins; and wrote, edited, and reviewed many books and articles. He's contributed to Perl's current release structure, as well as Moose, Catalyst, Mojolicious, and p5p. He first released Modern Perl to the community in 2010.