Sprad has asked for the wisdom of the Perl Monks concerning the following question:
The problem comes when debugging these scripts. The wrapper bit (usually 5-10 lines, depending on the task) counts towards the line count, so when perl says I have an error on line 85, it actually means line 93.
Is there a way to set the line count to a different value to fix this problem? I seem to remember seeing this somewhere, but I haven't been able to find it...
---
A fair fight is a sign of poor planning.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Line numbers in error messages
by dws (Chancellor) on Oct 03, 2002 at 18:20 UTC | |
|
Re: Line numbers in error messages
by BrowserUk (Patriarch) on Oct 03, 2002 at 18:20 UTC | |
|
Re: Line numbers in error messages
by perrin (Chancellor) on Oct 03, 2002 at 18:21 UTC |