develooper Front page | perl.perl5.porters | Postings from March 2001

Re: my purify runs with 5.6.1-to-be

Thread Previous | Thread Next
Jarkko Hietaniemi
March 16, 2001 11:52
Re: my purify runs with 5.6.1-to-be
Message ID:
> and op/mkdir.  I managed to whittle down a 'minimal' core dumping
> example
> 	PERL_DESTRUCT_LEVEL=1 ./perl -Ilib -MCwd -e 1
> I still haven't had the time to cut this down, sorry...

Now did.  Well, kind of.  The following will still tickle forth an
identical coredump in Tru64 (compiled with -DDEBUGGING -g)

	package Q;
	use Carp;
	use base 'Exporter';

as with

 	PERL_DESTRUCT_LEVEL=1 ./perl -Ilib -MQ -e 1

Both Carp and base 'Exporter' are needed.  The PERL_DESTRUCT_LEVEL
needs to be set to nonzero.  If the name of the file and the package
name do no match, there's no core dump.

The reduction was only kind of succesful since Carp and base
are still left.

$jhi++; #
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About