Perl Programming/Keywords/dump
< Perl Programming | Keywords
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";