Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    use IO::Socket;     # without this line, no crash !
    print "** hello from hello.pl **\n";
    
  2. or download this
    // perlLib.c
    #include <EXTERN.h>
    ...
     perl_destruct(my_perl);
     perl_free(my_perl);
    }
    
  3. or download this
    // perlEmbedDynamic.c
    
    ...
        dlclose(handle);
        return(0);
    }
    
  4. or download this
    # compTest.sh
    
    ...
    
    # execute with dynamic loading, crashes
    ./perlEmbedDynamicLoading