use lib "lib";
$lib = "Net::Ping";
eval "use $lib;";
die $@ if $@;
print "Still living\n";
prints "Still living\n" and then dumps core on both irix and
linux. This happens with some modules only (random tries below)
Dumping core Not dumping core
CGI::Base File::Copy
URI::Escape File::Find
URI::URL Socket
Net::Ping SDBM_File
(dbx) where
> 0 sv_clean_objs() ["/usr/sources/perl/perl/perl5.002beta1a.deb/sv.c":200, 0x478b70]
1 perl_destruct(sv_interp = 0x10017008) ["/usr/sources/perl/perl/perl5.002beta1a.deb/perl.c":167, 0x41122c]
2 main(argc = 2, argv = 0x7fffaf14, env = 0x7fffaf20) ["/usr/sources/perl/perl/perl5.002beta1a.deb/perlmain.c":65, 0x410d04]
3 __start() ["crt1text.s":133, 0x410b1c]
regards
andreas
$lib = "Net::Ping";
eval "use $lib;";
die $@ if $@;
print "Still living\n";
prints "Still living\n" and then dumps core on both irix and
linux. This happens with some modules only (random tries below)
Dumping core Not dumping core
CGI::Base File::Copy
URI::Escape File::Find
URI::URL Socket
Net::Ping SDBM_File
(dbx) where
> 0 sv_clean_objs() ["/usr/sources/perl/perl/perl5.002beta1a.deb/sv.c":200, 0x478b70]
1 perl_destruct(sv_interp = 0x10017008) ["/usr/sources/perl/perl/perl5.002beta1a.deb/perl.c":167, 0x41122c]
2 main(argc = 2, argv = 0x7fffaf14, env = 0x7fffaf20) ["/usr/sources/perl/perl/perl5.002beta1a.deb/perlmain.c":65, 0x410d04]
3 __start() ["crt1text.s":133, 0x410b1c]
regards
andreas