Perl dump Function



Description

This function Dumps the currently executing Perl interpreter and script into a core dump. Using the undump program, you can then reconstitute the dumped core into an executable program.

When the new binary is executed it will begin by executing a goto LABEL. If LABEL is omitted, restarts the program from the top.

If you're looking to use dump to speed up your program, consider generating bytecode or native C code as described in perlcc. The perlcc generates executables from Perl programs and this compiler comes alongwith PERL installation.

Syntax

Following is the simple syntax for this function −

dump LABEL

dump

Return Value

This function does not return any value.

perl_function_references.htm
Advertisements