http://qs321.pair.com?node_id=114923


in reply to Errors in Module - What to do with them.

In general, it's poor form for a module to call die or warn. Take a look at the Carp module (part of the standard distribution) and use either Carp::croak or Carp::carp.

HTH