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
goto suffers). Think of the operation as a
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.
undump program is not available on all systems, and may
not be compatible with specific ports of Perl.