新書推薦:

《
学会卓越
》
售價:HK$
109.9

《
365日自我肯定之书:你是你自己人生的主角!增强自我肯定感
》
售價:HK$
76.8

《
小儿推拿轻松学,脾肺同养百病消
》
售價:HK$
39.6

《
海洋之思:俄罗斯的海洋观(1997~2021)
》
售價:HK$
140.8

《
国语(全二册)(中国古代史学丛书)
》
售價:HK$
140.8

《
新安医学古籍整理发掘研究
》
售價:HK$
107.8

《
如何提出一个好问题(全新升级版)
》
售價:HK$
120.9

《
索恩丛书·风雨山河:清季变局中的人物与社会
》
售價:HK$
75.9
|
| 內容簡介: |
|
你需要朝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
|
|