If you call warn or die without an explicit newline at the end of the message, you'll get file and line number in the text to STDERR.
If you want your own error message function, you can pass it __FILE__ and __LINE__ so that its message gets to refer to the caller's location. Another way to do that is with the caller builtin.
After Compline,
Zaxo
In reply to Re: cgi code line message
by Zaxo
in thread cgi code line message
by Murcia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |