replace die with croak to appease perlcritic
responding to more prompt does not require NL