Полезная информация

Perl in a Nutshell

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



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