Subroutines seem like a basic building block of code. They're simple and easy to understand and use, right? That's true--but there are a few advanced techniques to make your code more maintainable and robust. Rob Kinyon goes beyond making sense of subroutines to making subroutines work for you.
(Via O'Reilly Network Articles.)