Jump to content

Perl Programming/Keywords/dump

From Wikibooks, open books for an open world
Previous: do Keywords Next: each

The dump keyword

[edit | edit source]

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 | edit source]
  dump EXPRESSION
  dump LABEL
  dump

Examples

[edit | edit source]
do "trigonometry.pl";
Previous: do Keywords Next: each