good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: What does the error 'Illegal division by zero' mean?by davido (Cardinal) |
on May 02, 2004 at 05:58 UTC ( [id://349763]=note: print w/replies, xml ) | Need Help?? |
The first line of defense against difficult to understand error messages is to put near the top of your script the following line:
And when you do that, using your existing script, the terse error message will become the following more verbose and descriptive message:
To take advantage of the best Perl has to offer in error messages, warnings, and diagnostics, be sure that your script, at least while under development, starts out with:
Dave
In Section
Seekers of Perl Wisdom
|
|