T
Produces a stack backtrace. For example:
The left-hand character (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
$
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.
Copyright © 2001 O'Reilly & Associates. All rights reserved.