=over =item dump LABEL X<dump> X<core> X<undump> =item dump EXPR =item dump This function causes an immediate core dump. See also the B<-u> command-line switch in L<perlrun|perlrun/-u>, which does the same thing. Primarily this is so that you can use the B<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 a C<goto LABEL> (with all the restrictions that L<C<goto>|/goto LABEL> suffers). Think of it as a goto with an intervening core dump and reincarnation. If C<LABEL> is omitted, restarts the program from the top. The C<dump EXPR> form, available starting in Perl 5.18.0, allows a name to be computed at run time, being otherwise identical to C<dump LABEL>. B<WARNING>: Any files opened at the time of the dump will I<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. As of Perl 5.30, it must be invoked as C<CORE::dump()>. Unlike most named operators, this has the same precedence as assignment. It is also exempt from the looks-like-a-function rule, so C<dump ("foo")."bar"> will cause "bar" to be part of the argument to L<C<dump>|/dump LABEL>. Portability issues: L<perlport/dump>. =back