For those interested the code of the first snippet should read:
Other examples have a confusion between proc and procedure.
One again, apologies.
© 2014, O’Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.