Perl Programming/Keywords/dump

Previous: do Keywords Next: each

The dump keyword

edit

The dump function causes an immediate core dump. It is like a goto with an intervening core dump and a following reincarnation, where all the files that were open just before the core dump are closed. When starting again, the program starts at the LABEL.

Syntax

edit
  dump EXPRESSION
  dump LABEL
  dump

Examples

edit
do "trigonometry.pl";
Previous: do Keywords Next: each