Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: tChapter 6
Debugging
Next: Reference: v
 

T

T

Produces a stack backtrace. For example:

DB<2> T
$ = main::infested called from file 'Ambulation.pm' line 10
@ = Ambulation::legs(1, 2, 3, 4) called from file 'camel_flea' line 7
$ = main::pests('bactrian', 4) called from file 'camel_flea' line 4
The left-hand character ($ or @) tells whether the function was called in a scalar or list context. The example shows three lines because it was three functions deep when the stack backtrace ran.


Previous: Reference: tPerl in a NutshellNext: Reference: v
Reference: tBook IndexReference: v

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.