|Perl Language Reference Manual|
by Larry Wall and others
Paperback (6"x9"), 724 pages
RRP £29.95 ($39.95)
Sales of this book support The Perl Foundation! Get a printed copy>>>
This function causes an immediate core dump. See also the -u
command-line switch in 3, which does the same thing.
Primarily this is so that you can use the undump program (not
supplied) to turn your core dump into an executable binary after
having initialized all your variables at the beginning of the
program. When the new binary is executed it will begin by executing
goto LABEL (with all the restrictions that
Think of it as a goto with an intervening core dump and reincarnation.
LABEL is omitted, restarts the program from the top.
WARNING: Any files opened at the time of the dump will not be open any more when the program is reincarnated, with possible resulting confusion by Perl.
This function is now largely obsolete, mostly because it's very hard to
convert a core file into an executable. That's why you should now invoke
CORE::dump(), if you don't want to be warned against a possible
|ISBN 9781906966027||Perl Language Reference Manual||See the print edition|