Create bookmark
Perl Hacks
Tips & Tools for Programming, Debugging, and Surviving
Notes
Please login to add notes
- Contents
- + Credits
- + Preface
-
+
Productivity Hacks
- + Add CPAN Shortcuts to Firefox
- + Put Perldoc to Work
- + Browse Perl Docs Online
- + Make the Most of Shell Aliases
- + Autocomplete Perl Identifiers in Vim
- + Use the Best Emacs Mode for Perl
- + Enforce Local Style
- + Don’t Save Bad Perl
- + Automate Checkin Code Reviews
- + Run Tests from Within Vim
- + Run Perl from Emacs
-
+
User Interaction
- + Data Munging
-
+
Working with Modules
- + Shorten Long Class Names
- + Manage Module Paths
- + Reload Modified Modules
- + Create Personal Module Bundles
- + Manage Module Installations
- + Presolve Module Paths
- + Create a Standard Module Toolkit
- + Write Demos from Tutorials
- + Replace Bad Code from the Outside
- + Drink to the CPAN
- + Improve Exceptional Conditions
- + Search CPAN Modules Locally
- + Package Standalone Perl Applications
- + Create Your Own Lexical Warnings
- + Find and Report Module Bugs
- + Object Hacks
- + Debugging
- + Developer Tricks
-
+
Know Thy Code
- + Understand What Happens When
- + Inspect Your Data Structures
- + Find Functions Safely
- + Know What’s Core and When
- + Trace All Used Modules
- + Find All Symbols in a Package
- + Peek Inside Closures
- + Find All Global Variables
- + Introspect Your Subroutines
- + Find Imported Functions
- + Profile Your Program Size
- + Reuse Perl Processes
- + Trace Your Ops
- + Write Your Own Warnings
-
+
Expand Your Perl Foo
- + Double Your Data with Dualvars
- + Replace Soft References with Real Ones
- + Optimize Away the Annoying Stuff
- + Lock Down Your Hashes
- + Clean Up at the End of a Scope
- + Invoke Functions in Odd Ways
- + Glob Those Sequences
- + Write Less Error-Checking Code
- + Return Smarter Values
- + Return Active 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
- + Track Your Approximations
- + Overload Your Operators
- Learn from Obfuscations
- Index
With more than a million dedicated programmers, Perl has proven to be the best computing language for the latest trends in computing and business. While other languages have stagnated, Perl remains fresh, thanks to its community- based development model, which encourages the sharing of information among users. This tradition of knowledge-sharing allows developers to find answers to almost any Perl question they can dream up.And you can find many of those answers right here in Perl Hacks. Like all books in O'Reilly's Hacks Series, Perl Hacks appeals to a variety of programmers, whether you're an experienced developer or a dabbler who simply enjoys exploring technology. Each hack is a short lesson--some are practical exercises that teach you essential skills, while others merely illustrate some of the fun things that Perl can do. Most hacks have two parts: a direct answer to the immediate problem you need to solve right now and a deeper, subtler technique that you can adapt to other situations. Learn how to add CPAN shortcuts to the Firefox web browser, read files backwards, write graphical games in Perl, and much more.For your convenience, Perl Hacks is divided by topic--not according to any sense of relative difficulty--so you can skip around and stop at any hack you like. Chapters include:Productivity Hacks User Interaction Data Munging Working with Modules Object Hacks DebuggingWhether you're a newcomer or an expert, you'll find great value in Perl Hacks, the only Perl guide that offers something useful and fun for everyone.
Test the closed alpha on paperc.com
Book Details
Authors
Chromatic, Damian Conway, and Curtis Poe
Categories
Computers > Programming Languages > JavaScript
Publishers
Publication year : 2006
License: All rights reserved ©
Times read: 448

