注冊(cè) | 登錄讀書好,好讀書,讀好書!
讀書網(wǎng)-DuShu.com
當(dāng)前位置: 首頁(yè)出版圖書科學(xué)技術(shù)計(jì)算機(jī)/網(wǎng)絡(luò)軟件與程序設(shè)計(jì)網(wǎng)絡(luò)編程精通Perl(影印版)

精通Perl(影印版)

精通Perl(影印版)

定 價(jià):¥48.00

作 者: (美國(guó))(Foy、B.D.)福瓦
出版社: 東南大學(xué)出版社
叢編項(xiàng):
標(biāo) 簽: Perl

ISBN: 9787564110376 出版時(shí)間: 2008-02-01 包裝: 平裝
開本: 16 頁(yè)數(shù): 322 pages 字?jǐn)?shù):  

內(nèi)容簡(jiǎn)介

  本書是0’Reilly具有里程碑意義的Perl教科書系列的第三本,該系列包括《LearningPerl》(最為暢銷的一本介紹Perl基礎(chǔ)語法的書,簡(jiǎn)體中文版由東南大學(xué)出版社出版)、《Intermediate Perl》(一本Perl程序員必備的指導(dǎo)如何創(chuàng)建可重用的Perl軟件的書)和《精通Perl》?!毒≒erl》由淺入深地剖析了Perl特殊模塊的工作機(jī)理、細(xì)致詳盡地闡述了慣用的Perl 編程思想和技術(shù),這些知識(shí)必能協(xié)助你在開發(fā)Perl程序時(shí)游刃有余,達(dá)成所需。本書并非一堆奇技的簡(jiǎn)單集合,而是著重介紹Perl編程的思維方式,這是每一個(gè)合格的程序員都應(yīng)當(dāng)掌握的,并且應(yīng)當(dāng)借此解決實(shí)際生活中各式問題,如調(diào)試代碼、維護(hù)程序以及配置等。本書解釋了該如何:使用高級(jí)正則表達(dá)式,包括全局匹配、前后查詢匹配、可讀的正則表達(dá)式以及對(duì)正則表達(dá)式的調(diào)試;使用安全可靠的編程技術(shù),避免常見的編程問題;剖析Perl運(yùn)行時(shí)數(shù)據(jù)并作基準(zhǔn)測(cè)試,繼而有針對(duì)性地進(jìn)行性能優(yōu)化;重新組織Perl代碼,使其更具自我表達(dá)力,增強(qiáng)可讀性;查看Perl如何實(shí)現(xiàn)對(duì)包變量的跟蹤維護(hù),你可以用類似的技巧玩出更多有用的花樣來;動(dòng)態(tài)定義子程序,從容化解普通過程式編程帶來的劣勢(shì);臨時(shí)修改或調(diào)整相關(guān)的模塊,在不修改源代碼的情況下修復(fù)代碼存在的問題;在不觸及代碼的情況下,讓用戶自行對(duì)程序進(jìn)行配置;偵測(cè)Perl沒有報(bào)告的那些錯(cuò)誤并向用戶匯報(bào);應(yīng)用Log4Perl模塊,從Perl程序的運(yùn)行日志獲取有價(jià)值的信息;存儲(chǔ)相關(guān)數(shù)據(jù)以便后續(xù)再次運(yùn)行該程序或其他程序時(shí)可以訪問該數(shù)據(jù),以及如何通過網(wǎng)絡(luò)發(fā)送數(shù)據(jù)以Perl模塊的形式編寫應(yīng)用程序,以便使用現(xiàn)成的測(cè)試工具并輕松發(fā)布。本書將帶你一路揭示這些問題的答案,讓你從容地成為能夠發(fā)現(xiàn)并解決疑難雜癥的專家。

作者簡(jiǎn)介

  brian d foy是stonehenge Consulting Services公司的顧問,也是The Perl Review雜志的出版者。他所創(chuàng)立的非營(yíng)利性公司Perl Mongers,Inc.,已經(jīng)在全球范圍內(nèi)幫助籌建了200多個(gè)Perl用戶組。brian還維護(hù)著核心Perl文檔中的perlfaq部分,以及眾多發(fā)布到CPAN的模塊。他還是Perl大會(huì)的演講??停彩?’Reilly Network、The Perl Journal雜志、Dr.Dobbs雜志、use.perl.org站點(diǎn)和許多Perl Usenet新聞組的積極貢獻(xiàn)者。

圖書目錄

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

本目錄推薦

掃描二維碼
Copyright ? 讀書網(wǎng) m.ranfinancial.com 2005-2020, All Rights Reserved.
鄂ICP備15019699號(hào) 鄂公網(wǎng)安備 42010302001612號(hào)