< Perl Programming < Keywords

The dump keyword

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

  dump EXPRESSION
  dump LABEL
  dump

Examples

do "trigonometry.pl";
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.