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
undumpprogram to turn your core dump into an executable binary after having initialized all your variables at the beginning of the program.dumparranges for the revived binary, when run, to begin by executing agotolabel (with all the restrictions thatgotosuffers). Think of the operation as agotowith 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
undumpprogram is not available on all systems, and may not be compatible with specific ports of Perl.