start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: t Chapter 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: t Perl in a Nutshell Next: Reference: v
Reference: t Book Index Reference: v

Library Navigation Links

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