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