|Don't ask to ask, just ask|
die or croakby McA (Deacon)
|on Aug 09, 2013 at 19:21 UTC||Need Help??|
McA has asked for the
wisdom of the Perl Monks concerning the following question:
can anybody give me advice on the following issue:
To throw exceptions in modules which will be used by others, should I use die or Carp::croak? And when then why?
I have the feeling that reporting the file and line number of the module (using die) exposes some kind of implementation detail which should be hidden, isn't it?