Cari di Perl 
    Perl User Manual
Daftar Isi
(Sebelumnya) Test whether a value, variable ...Catch exceptions or compile an ... (Berikutnya)
Miscellaneous functions

Create an immediate core dump

Daftar Isi

  • dump LABEL

  • dump

    This function causes an immediate core dump. See also the -ucommand-line switch in perlrun, which does the same thing.Primarily this is so that you can use the undump program (notsupplied) to turn your core dump into an executable binary afterhaving initialized all your variables at the beginning of theprogram. When the new binary is executed it will begin by executinga goto LABEL (with all the restrictions that goto suffers).Think of it as a goto with an intervening core dump and reincarnation.If LABEL is omitted, restarts the program from the top.

    WARNING: Any files opened at the time of the dump will notbe open any more when the program is reincarnated, with possibleresulting confusion by Perl.

    This function is now largely obsolete, mostly because it's very hard toconvert a core file into an executable. That's why you should now invokeit as CORE::dump(), if you don't want to be warned against a possibletypo.

    Portability issues: dump in perlport.

 
Source : perldoc.perl.org - Official documentation for the Perl programming language
Site maintained by Jon Allen (JJ)     See the project page for more details
Documentation maintained by the Perl 5 Porters
(Sebelumnya) Test whether a value, variable ...Catch exceptions or compile an ... (Berikutnya)