注册 | 登录读书好,好读书,读好书!
读书网-DuShu.com
当前位置: 首页出版图书科学技术计算机/网络软件与程序设计网络编程精通Perl(影印版)

精通Perl(影印版)

精通Perl(影印版)

定 价:¥48.00

作 者: (美国)(Foy、B.D.)福瓦
出版社: 东南大学出版社
丛编项:
标 签: Perl

购买这本书可以去


ISBN: 9787564110376 出版时间: 2008-02-01 包装: 平装
开本: 16 页数: 322 pages 字数:  

内容简介

  本书是0’Reilly具有里程碑意义的Perl教科书系列的第三本,该系列包括《LearningPerl》(最为畅销的一本介绍Perl基础语法的书,简体中文版由东南大学出版社出版)、《Intermediate Perl》(一本Perl程序员必备的指导如何创建可重用的Perl软件的书)和《精通Perl》。《精通Perl》由浅入深地剖析了Perl特殊模块的工作机理、细致详尽地阐述了惯用的Perl 编程思想和技术,这些知识必能协助你在开发Perl程序时游刃有余,达成所需。本书并非一堆奇技的简单集合,而是着重介绍Perl编程的思维方式,这是每一个合格的程序员都应当掌握的,并且应当借此解决实际生活中各式问题,如调试代码、维护程序以及配置等。本书解释了该如何:使用高级正则表达式,包括全局匹配、前后查询匹配、可读的正则表达式以及对正则表达式的调试;使用安全可靠的编程技术,避免常见的编程问题;剖析Perl运行时数据并作基准测试,继而有针对性地进行性能优化;重新组织Perl代码,使其更具自我表达力,增强可读性;查看Perl如何实现对包变量的跟踪维护,你可以用类似的技巧玩出更多有用的花样来;动态定义子程序,从容化解普通过程式编程带来的劣势;临时修改或调整相关的模块,在不修改源代码的情况下修复代码存在的问题;在不触及代码的情况下,让用户自行对程序进行配置;侦测Perl没有报告的那些错误并向用户汇报;应用Log4Perl模块,从Perl程序的运行日志获取有价值的信息;存储相关数据以便后续再次运行该程序或其他程序时可以访问该数据,以及如何通过网络发送数据以Perl模块的形式编写应用程序,以便使用现成的测试工具并轻松发布。本书将带你一路揭示这些问题的答案,让你从容地成为能够发现并解决疑难杂症的专家。

作者简介

  brian d foy是stonehenge Consulting Services公司的顾问,也是The Perl Review杂志的出版者。他所创立的非营利性公司Perl Mongers,Inc.,已经在全球范围内帮助筹建了200多个Perl用户组。brian还维护着核心Perl文档中的perlfaq部分,以及众多发布到CPAN的模块。他还是Perl大会的演讲常客,也是0’Reilly Network、The Perl Journal杂志、Dr.Dobbs杂志、use.perl.org站点和许多Perl Usenet新闻组的积极贡献者。

图书目录

Foreword
Preface
1. Introduction: Becoming a Master
 What It Means to Be a Master
 Who Should Read This Book
 How to Read This Book
 What Should You Know Already?
 What I Cover
 What I Don't Cover
2. Advanced Regular Expressions
 References to Regular Expressions
 Noncapturing Grouping, (?:PATTERN)
 Readable Regexes,/x and (?#...)
 Global Matching
 Lookarounds
 Deciphering Regular Expressions
 Final Thoughts
 Summary
 Further Reading
3. Secure Programming Techniques
 Bad Data Can Ruin Your Day
 Taint Checking
 Untainting Data
 List Forms of system and exec
 Summary
 Further Reading
4. Debugging Perl
 Before You Waste Too Much Time
 The Best Debugger in the World
 perlSdb.pl
 Alternative Debuggers
 Other Debuggers
 Summary
 Further Reading
5. Profiling Perl
 Finding the Culprit
 The General Approach
 Profiling DBI
 Devel: :DProf
 Writing My Own Profiler
 Profiling Test Suites
 Summary
 Further Reading
6. Benchmarking Perl
 Benchmarking Theory
 Benchmarking Time
 Comparing Code
 Don't Turn Off Your Thinking Cap
 Memory Use
 The perlbench Tool
 Summary
 Further Reading
7. Cleaning Up Perl
 Good Style
 perltidy
 De-Obfuscation
 Perl::Critic
 Summary
 Further Reading
8. SymboITablesandTypeglobs
 Package and Lexical Variables
 The Symbol Table
 Summary
 Further Reading
9. Dynamic Subroutines
 Subroutines As Data
 Creating and Replacing Named Subroutines
 Symbolic References
 Iterating Through Subroutine Lists
 Processing Pipelines
 Method Lists
 Subroutines As Arguments
 Autoloaded Methods
 Hashes As Objects
 AutoSplit
 Summary
 Further Reading
10. Modifying and Jury-Rigging Modules
 Choosing the Right Solution
 Replacing Module Parts
 Subclassing
 Wrapping Subroutines
 Summary
 Further Reading
11. Configuring Perl Programs
 Things Not to Do
 Better Ways
 Command-Line Switches
 Configuration Files
 Scripts with a Different Name
 Interactive and Noninteractive Programs
 perl's Con fig
 Summary
 Further Reading
12. Detecting and Reporting Errors
 Perl Error Basics
 Reporting Module Errors
 Exceptions
 Summary
 Further Reading
13. Logging
 Recording Errors and Other Information
 Eog4perl
 Summary
 Further Reading
14. Data Persistence
 Flat Files
 Storable
 DBM Files
 Summary
 Further Reading
15. Working with Pod
 The Pod Format
 Translating Pod
 Testing Pod
 Summary
 Further Reading
16. Working with Bits
 Binary Numbers
 Bit Operators
 Bit Vectors
 The vec Function
 Keeping Track of Things
 Summary
 Further Reading
17. The Magic of Tied Variables
 They Look Like Normal Variables
 At the User Level
 Behind the Curtain
 Scalars
 Arrays
 Hashes
 Filehandles
 Summary
 Further Reading
18. Modules As Programs
 The main Thing
 Backing Up
 Who's Calling?
 Testing the Program
 Distributing the Programs
 Summary
 Further Reading
A. Further Reading
B. brian's Guide to Solving Any Perl Problem
Index

本目录推荐