in reply to abbreviate 'do { $@="blah blah"; return undef; };

s/signalerror/die/

OK, so it's not quite what you want, but it's more likely to be what people calling your code will expect.