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

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: do Chapter 5
Function Reference
Next: Reference: each
 

dump

dump 
label

During program execution, causes an immediate core dump after code previous to it has already been executed. Primarily, this is so that you can use the undump program to turn your core dump into an executable binary after having initialized all your variables at the beginning of the program. dump arranges for the revived binary, when run, to begin by executing a goto label (with all the restrictions that goto suffers). Think of the operation as a goto with an intervening core dump and reincarnation. If label is omitted, the function arranges for the program to restart from the top. Please note that any files opened at the time of the dump will not be open any more when the program is reincarnated. See also the -u command-line switch.

The undump program is not available on all systems, and may not be compatible with specific ports of Perl.


Previous: Reference: do Perl in a Nutshell Next: Reference: each
Reference: do Book Index Reference: each