Using the caller() function in debugging

On 27 March 2008, I gave a micro-talk to the Atlanta Perl Mongers on how the caller() function could be used in debugging. The talk describes the caller() function and gives two illustrations of subroutines using it to facilitate debugging. A handout for the talk is available for download in Acrobat (.pdf) format.

[Handout for "Using the caller() function in debugging" talk (56 KB)]

Revision history:

23 May 2008: formal handout generated from original material; the sample code was revised substantially

27 March 2008: original handout (raw code and output); this was only available at the meeting

This document is licensed under the Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License.