Perl dump Function
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.
Following is the simple syntax for this function −
dump LABEL dump
This function does not return any value.
Following is the example code showing its basic usage −
When above code is executed, it produces thr following result −