Perl Hacks

オライリーの中の人から一足先に Perl Hacks をいただきました! ありがとうございます。

Perl Hacks: Tips & Tools for Programming, Debugging, and Surviving

Perl Hacks: Tips & Tools for Programming, Debugging, and Surviving

で、やばいですよこれは。Perl Hacker 必読な感じですよ!

Perl Hacks taps into the collective wisdom of the world's most creative Perl gurus, so you can learn from their experiences. It's the perfect book for experienced developers looking for time-saving practical tips or dabblers who are simply curious about Perl's many
cool capabilities. Topics include user interaction, data munging, working with modules, object hacks, and debugging.

ざっと見て面白そうな Hack のタイトルを羅列してみます。

  • Add CPAN Shortcuts to Firefox
  • Autocomplete Perl Identifiers in Vim
  • Use the Best Emacs Mode for Perl
  • Run Tests from Within Vim
  • Run Perl from Emacs
  • Alert Your Mac
  • Rewrite the Web
  • Use Any Spreadsheet As a Data Source
  • Factor Out Database Code
  • Query Database Dynamically Without SQL
  • Iterate and Generate Expensive Data
  • Pull Multiple Values from an Iterator
  • Shorten Long Class Names
  • Create Personal Module Bundles
  • Create a Standard Module Toolkit
  • Improve Exceptional Conditions
  • Search CPAN Modules Locally
  • Package Standalone Perl Applications
  • Turn Your Objects Inside Out
  • Serialize Objects (Mostly) for Free
  • Add Information with Attributes
  • Autodeclare Method Arguments
  • Control Access to Remote Objects
  • Make Your Objects Truly Polymorphic
  • Autogenerate Your Accessors
  • Show Source Code on Errors
  • Deparse Anonymous Functions
  • Name Your Anonymous Subroutines
  • Run Tests Automatically
  • Test Live Code
  • Cheat on Benchmarks
  • Inspect Your Data Structures
  • Trace All Used Modules
  • Find All Symbols in a Package
  • Perl Inside Closures
  • Find Imported Functions
  • Profile Your Program Size
  • Reuse Perl Processes
  • Trace Your Ops
  • Replace Soft References with Real Ones
  • Lock Down Your Hashes
  • Clean up at the End of a Scope
  • Write Less Error-Checking Code
  • Return Smarter Values
  • Add Your Own Perl Syntax
  • Modify Semantics with a Source Filter
  • Use Shared Libraries Without XS
  • Run Two Services on a Single TCP Port
  • Improve Your Dispatch Tables
  • Overload Your Operators

入門書には書いてないあんなテクニックやこんなテクニックが満載っぽいですねえ。早く引きこもって読みたい。Amazon.co.jp だと発売日が 2006年8月とかなってますが、.com の方では 5/19 となってます。日本時間だと明後日ぐらいですね。