perlquestion
McA
<p>Hi Monks,</p>
<p>can anybody give me advice on the following issue:</p>
<p>To throw exceptions in modules which will be used by others, should I use <code>die</code> or <code>Carp::croak</code>? And when then why?</p>
<p>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?</p>
<p>Best regards<br/>
McA</p>