Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 6.2 Debugger CommandsChapter 6
Debugging
Next: Reference: A
 

a

a [line] command

Sets an action to be done before the line is executed. The following steps are taken:

For example, the following prints the value of $foo (and "DB FOUND") every time line 53 is passed:

a 53 print "DB FOUND $foo\n"


Previous: 6.2 Debugger CommandsPerl in a NutshellNext: Reference: A
6.2 Debugger CommandsBook IndexReference: A

Library Navigation Links

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