END { # Perl 6 does not guarantee that DESTROY methods are called at program exit. # Make sure at least the first Perl 5 interpreter is correctly shut down and thus can e.g. # flush its output buffers. This should at least fix the vast majority of use cases. # People who really do use multiple Perl 5 interpreters are probably experienced enough # to find proper workarounds for their cases.