编辑推荐
null
内容简介
你需要朝Perl迈出下一步, 精通可以让编码更简单、维护更方便、执行更快速的高级概念。《精通Perl》并不是一些奇妙诀窍的集合, 而是一种针对Perl编程的思考方法, 适用于解决调试、配置和很多作为一名编程工作者会遇到的日常问题。本书是O”Reilly出版社标志性的Perl教程系列中的第三本(前面两本是《Learning Perl》和《Intermediate Perl》), 本次完全修订版把所有内容都整合在一起, 帮助你随心所欲地掌握Perl。
目 录
Preface 1. Advanced Regular data-xsss Readable Regexes, lx and (?#...) Global Matching Global Match Anchors Recursive Regular data-xsss Repeating a Subpattern Lookarounds Lookahead Assertions, (?=PATTERN) and (?!PATTERN) Lookbehind Assertions, (?Debugging Regular data-xsss 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
媒体评论
null