PERLFUNC: dump - create an immediate core dump 
Author Message
 PERLFUNC: dump - create an immediate core dump

(This excerpt is from the perlfunc manpage, part of the standard set of
documentation included with every valid Perl distribution--like the one on
your own system.  See also http://www.*-*-*.com/
or http://www.*-*-*.com/
if your negligent system adminstrator has been remiss in his duties.)

NAME
    dump - create an immediate core dump

SYNOPSIS
    dump LABEL

    dump

DESCRIPTION
    This function causes an immediate core dump. See also the -u
    command-line switch in the perlrun manpage, which does the same
    thing. Primarily this is so that you can use the undump program
    (not supplied) to turn your core dump into an executable binary
    after having initialized all your variables at the beginning of the
    program. When the new binary is executed it will begin by executing
    a `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 *not* be
    open any more when the program is reincarnated, with possible
    resulting confusion on the part of Perl.

    This function is now largely obsolete, partly because it's very
    hard to convert a core file into an executable, and because the
    real compiler backends for generating portable bytecode and
    compilable C code have superseded it.

    If you're looking to use the dump manpage to speed up your program,
    consider generating bytecode or native C code as described in the
    perlcc manpage. If you're just trying to accelerate a CGI script,
    consider using the `mod_perl' extension to Apache, or the CPAN
    module, Fast::CGI. You might also consider autoloading or
    selfloading, which at least make your program *appear* to run
    faster.

--
 Thinking is the hardest work there is, which is the probable reason
 why so few engate in it.  -- Henry Ford



Fri, 26 Oct 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. PERLFUNC: dump - create an immediate core dump

2. glob failed (child exited with status -1, core dumped)

3. Perl 4.036 dump core on Alpha - a reason and a fix

4. perl5.000 build on OSF 1.3 core dumped

5. exit called in BEGIN gives core dump

6. perl 5.000 defect: core dump

7. tkperl - core dump

8. core dump: perl4 on Motorola 68030

9. $anything->configure() core dumps

10. tkperl on dec ultrix core dump

11. 4.036 dumps core on command substitution (Solaris 2.3)

12. core dump in perl4 and perl5 on DEC OSF/1 V2.0

 

 
Powered by phpBB® Forum Software