新書推薦:

《
《西南联大名师课(全10册)》中国历史·中国文学·中国哲学·诸子百家·诗词曲赋·文化常识·人文精神·
》
售價:HK$
657.8

《
天命无常:五代十国 优酷人文·“梅毅说中国史”系列(全三册)
》
售價:HK$
151.8

《
武王墩:亲历2020—2024楚王墓发掘
》
售價:HK$
96.8

《
异化
》
售價:HK$
94.6

《
你的脆弱很正常
》
售價:HK$
60.0

《
鸟墙——康奈尔鸟类学实验室巨幅壁画诞生记
》
售價:HK$
195.8

《
政治人--政治的社会基础(东方编译所译丛)
》
售價:HK$
129.8

《
大国崛起战略论:地理与世界霸权+海权论+陆权论+空权论+战争论(全译足本无任何删节-同人阁)
》
售價:HK$
282.5
|
| 內容簡介: |
|
你需要朝Perl迈出下一步, 精通可以让编码更简单、维护更方便、执行更快速的高级概念。《精通Perl》并不是一些奇妙诀窍的集合, 而是一种针对Perl编程的思考方法, 适用于解决调试、配置和很多作为一名编程工作者会遇到的日常问题。本书是O''Reilly出版社标志性的Perl教程系列中的第三本前面两本是《Learning Perl》和《Intermediate Perl》, 本次完全修订版把所有内容都整合在一起, 帮助你随心所欲地掌握Perl。
|
| 目錄:
|
Preface
1. Advanced Regular Expressions
Readable Regexes, lx and ?#...
Global Matching
Global Match Anchors
Recursive Regular Expressions
Repeating a Subpattern
Lookarounds
Lookahead Assertions, ?=PATTERN and ?!PATTERN
Lookbehind Assertions, ?Debugging Regular Expressions
The -D Switch
Summary
Further Reading
2. Secure Programming Techniques
Bad Data Can Ruin Your Day
Taint Checking
Warnings Instead of Fatal Errors
Automatic Taint Mode
mod_perl
Tainted Data
Side Effects of Taint Checking
Untainting Data
IO::Handle::untaint
Hash Keys
Taint::Util
Choosing Untainted Data with Tainted Data
Symbolic References
Defensive Database Programming with DBI
List Forms of system and exec
Three-Argument open
sysopen
Limit Special Privileges
Safe Compartments
Safe Limitations
A Little Fun
Summary
Further Reading
3. Perl Debuggers
Before You Waste Too Much Time
The Best Debugger in the World
Safely Changing Modules
Wrapping Subroutines
The Perl Debugger
Alternative Debuggers
Using a Different Debugger with
Devel::ptkdb
Devel::ebug
Devel::hdb
IDE Debuggers
EPIC
Komodo
Summary
Further Reading
4. Profiling Perl
Finding the Culprit
The General Approach
Profiling DBI
Other DBI::Profrle Reports
Making It Even Easier
Switching Databases
DeveI::NYTProf
Writing My Own Profiler
DeveI::LineCounter
Profrling Test Suites
DeveI::Cover
Summary
……
5.Benchmarking Perl
6.Cleaning Up Perl
7.SymboITables and Typeglobs
8.Dynamic Subroutines.
9.Modifying and Jury-Rigging Modules
10.Configuring Perl Programs
11.Detecting and Reporting Errors
12.Logging.
13.Data Persistence.
14.Working with Pod
15.Working with Bits
16.The Magic of Tied Variables
17.Modules as Programs
A.Further Reading
B.brian''s Guide to Solving Any Perl Problem
|
|