in reply to Re: Is there a non-empty error quine in perl?in thread Is there a non-empty error quine in perl?
perldiag has them all, but you might need to fill in the placeholders with something tricky like __DATA__ maybe.