in reply to Re: dying() more informatively
in thread dying() more informatively

I think you're a bit mixed up here. croak() calls die() and carp() calls warn(), not vice versa.